All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
2 DOCDIR=$(PREFIX)/share/doc/$(self)
3 ZSHDIR=$(PREFIX)/share/zsh/vendor-completions
13 install -d $(DESTDIR)$(PREFIX)/bin
14 install -m 0755 $(self) $(DESTDIR)$(PREFIX)/bin
15 install -d $(DESTDIR)$(PREFIX)/share/man/man1
16 install -m 0644 $(manpages) $(DESTDIR)$(PREFIX)/share/man/man1
17 install -d $(DESTDIR)$(DOCDIR)
18 install -m 0644 README.md $(DESTDIR)$(DOCDIR)
19 install -m 0644 doc/hooks $(DESTDIR)$(DOCDIR)
20 install -d $(DESTDIR)$(ZSHDIR)
21 install -m 0644 _$(self) $(DESTDIR)$(ZSHDIR)
25 $(self).1: doc/$(self).1.ronn
26 $(RONN) < doc/$(self).1.ronn > $(self).1 || rm $(self).1
32 rm -rf $(DESTDIR)$(PREFIX)/bin/$(self)
33 rm -rf $(DESTDIR)$(PREFIX)/share/man/man1/$(self).1
34 rm -rf $(DESTDIR)$(DOCDIR)
35 rm -rf $(DESTDIR)$(ZSHDIR)/_$(self)
37 # Potentially harmful, used a non-standard option on purpose.
38 # If PREFIX=/usr/local and that's empty...
40 rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(PREFIX)/bin/
41 rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(PREFIX)/share/man/man1/
42 rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(shell dirname $(DOCDIR))
43 rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(ZSHDIR)
46 if which git > /dev/null ; then :; else echo "'git' not found, exiting..."; exit 1; fi
49 @if [ -x /usr/games/cowsay ]; then /usr/games/cowsay "I hope you're happy now..."; fi