Makefile (513B)
1 .POSIX: 2 .PHONY: all install uninstall 3 .SUFFIXES: 4 5 prefix=/usr/local 6 datarootdir=$(prefix)/share 7 datadir=$(datarootdir) 8 exec_prefix=$(prefix) 9 bindir=$(exec_prefix)/bin 10 mandir=$(datarootdir)/man 11 man1dir=$(mandir)/man1 12 13 all: 14 @echo "Targets: install, uninstall, man" 15 16 install: vbox vbox.1.man 17 cp vbox $(bindir)/ 18 cp vbox.1.man $(man1dir)/vbox.1 19 @echo "If you want Zsh completion, copy the vbox.zsh file to your Zsh completions directory, and name it '_vbox'." 20 21 uninstall: 22 rm $(bindir)/vbox 23 rm $(man1dir)/vbox.1