1# 2# Simple makefile to install http://wiki.splitbrain.org/plugin:snmplive 3# Makefile created by: Elan Ruusam�e <glen@pld-linux.org> 4# 5prefix := /usr/share/dokuwiki 6plugindir := $(prefix)/lib/plugins 7package := snmplive 8files := syntax.php ajax.php script.js 9 10all: 11 @echo "Run make install to install this software" 12 13install: 14 install -d $(DESTDIR)$(plugindir)/$(package) 15 cp -a $(files) $(DESTDIR)$(plugindir)/$(package) 16 17dist: 18 rm -rf $(package) 19 mkdir -p $(package) 20 cp -a Makefile $(files) $(package) 21 tar czf $(package).tar.gz $(package) 22 rm -rf $(package) 23