aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e9c3279..2fff65f 100644
--- a/Makefile
+++ b/Makefile
@@ -28,6 +28,10 @@ install: all
install "manpage.1" "$(DESTDIR)/usr/share/man/man1/ponysay.1"
ln -sf "ponysay.1" "$(DESTDIR)/usr/share/man/man1/ponythink.1"
+ mkdir -p "$(DESTDIR)/usr/share/man/es/man1"
+ install "manpage.es.1" "$(DESTDIR)/usr/share/man/es/man1/ponysay.1"
+ ln -sf "ponysay.1" "$(DESTDIR)/usr/share/man/es/man1/ponythink.1"
+
uninstall:
rm -fr "$(DESTDIR)/usr/share/ponysay/ponies"
rm -fr "$(DESTDIR)/usr/share/ponysay/ttyponies"
@@ -39,6 +43,7 @@ uninstall:
unlink "$(DESTDIR)/usr/share/bash-completion/completions/ponysay"
unlink "$(DESTDIR)/usr/share/man/man1/ponysay.1"
unlink "$(DESTDIR)/usr/share/man/man1/ponythink.1"
-
+ unlink "$(DESTDIR)/usr/share/man/es/man1/ponysay.1"
+ unlink "$(DESTDIR)/usr/share/man/es/man1/ponysay.1"
clean:
rm -r "ponysaytruncater"