From 1427db8ebbcba3189af6f2d26b69e61ade316826 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 15 Aug 2012 21:22:17 +0200 Subject: `make install-pdf` installs the pdf manual into /usr/doc, this is not done by default (i.e. `make install`) + make unstall fix --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index dea75ef..fe51c77 100644 --- a/Makefile +++ b/Makefile @@ -84,6 +84,9 @@ install-info: infomanual install-no-info: install-min install-bash install-zsh install-fish install-man install-man-es +install-pdf: + install "ponysay.pdf" "$(INSTALLDIR)/doc/ponysay.pdf" + install: install-no-info install-info @echo -e '\n\n'\ '/--------------------------------------------------\\\n'\ @@ -120,7 +123,8 @@ uninstall: if [ -f "$(INSTALLDIR)/share/man/es/man6/ponysay.6.gz" ]; then unlink "$(INSTALLDIR)/share/man/es/man6/ponysay.6.gz" ; fi if [ -f "$(INSTALLDIR)/share/man/es/man6/ponythink.6.gz" ]; then unlink "$(INSTALLDIR)/share/man/es/man6/ponythink.6.gz" ; fi if [ -f "$(INSTALLDIR)/share/info/ponysay.info.gz" ]; then unlink "$(INSTALLDIR)/share/info/ponysay.info.gz" ; fi - if [ -f unlink "$(INSTALLDIR)/share/info/ponythink.info.gz" ]; then unlink "$(INSTALLDIR)/share/info/ponythink.info.gz" ; fi + if [ -f "$(INSTALLDIR)/share/info/ponythink.info.gz" ]; then unlink "$(INSTALLDIR)/share/info/ponythink.info.gz" ; fi + if [ -f "$(INSTALLDIR)/doc/ponysay.pdf" ]; then unlink "$(INSTALLDIR)/doc/ponysay.pdf" ; fi uninstall-old: if [ -d "$(INSTALLDIR)/share/ponies" ]; then rm -fr "$(INSTALLDIR)/share/ponies" ; fi -- cgit