Makefile (372B)
1 prefix=/usr/local 2 datarootdir=$(prefix)/share 3 datadir=$(datarootdir) 4 exec_prefix=$(prefix) 5 bindir=$(exec_prefix)/bin 6 mandir=$(datarootdir)/man 7 man1dir=$(mandir)/man1 8 9 all: 10 @echo "Targets: install, uninstall, man" 11 12 install: conf conf.1 13 cp conf $(bindir)/ 14 cp conf.1 $(man1dir)/ 15 16 uninstall: 17 rm $(bindir)/conf 18 rm $(man1dir)/conf.1 19 20 man: conf conf.1 21 pod2man conf conf.1