diff options
author | Mattias Andrée <maandree@operamail.com> | 2012-08-15 21:22:17 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2012-08-15 21:22:17 +0200 |
commit | 1427db8ebbcba3189af6f2d26b69e61ade316826 (patch) | |
tree | cc1d564d97aca18a20285aecc90a86b977109624 /Makefile | |
parent | 9614b8f24a09405e062388bfd82c34a55e6eff9c (diff) | |
download | ponysay-1427db8ebbcba3189af6f2d26b69e61ade316826.tar.gz ponysay-1427db8ebbcba3189af6f2d26b69e61ade316826.tar.bz2 ponysay-1427db8ebbcba3189af6f2d26b69e61ade316826.zip |
`make install-pdf` installs the pdf manual into /usr/doc, this is not done by default (i.e. `make install`) + make unstall fix
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |