Makefile (347B)
1 prefix=/usr/local 2 datarootdir=$(prefix)/share 3 etcdir=$(prefix)/etc/hpanot 4 datadir=$(datarootdir) 5 exec_prefix=$(prefix) 6 bindir=$(exec_prefix)/bin 7 mandir=$(datarootdir)/man 8 man1dir=$(mandir)/man1 9 10 all: 11 @echo "Targets: install, uninstall" 12 13 install: hpanot 14 cp hpanot $(bindir)/ 15 mkdir -p $(etcdir) 16 17 uninstall: 18 rm $(bindir)/hpanot 19 rmdir $(etcdir)