Makefile (340B)
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: upd upd.1.man 13 cp upd $(bindir)/ 14 cp upd.1.man $(man1dir)/upd.1 15 16 uninstall: 17 rm $(bindir)/upd 18 rm $(man1dir)/upd.1