#
# Simple makefile to install http://wiki.splitbrain.org/plugin:snmplive
# Makefile created by: Elan RuusamÃe <glen@pld-linux.org>
#
prefix := /usr/share/dokuwiki
plugindir := $(prefix)/lib/plugins
package := snmplive
files := syntax.php ajax.php script.js

all:
	@echo "Run make install to install this software"

install:
	install -d $(DESTDIR)$(plugindir)/$(package)
	cp -a $(files) $(DESTDIR)$(plugindir)/$(package)

dist:
	rm -rf $(package)
	mkdir -p $(package)
	cp -a Makefile $(files) $(package)
	tar czf $(package).tar.gz $(package)
	rm -rf $(package)
