Also covering compressed manpages in uninstall target of Makefile.

This commit is contained in:
Daniel Baumann 2009-01-30 18:15:59 +01:00
parent baf8a25fab
commit e72f1790d4
1 changed files with 4 additions and 4 deletions

View File

@ -77,23 +77,23 @@ uninstall:
# Uninstalling manpages
set -e; for MANPAGE in manpages/*.en.1; \
do \
rm -f $(DESTDIR)/usr/share/man/man1/`basename $$MANPAGE .en.1`.1; \
rm -f $(DESTDIR)/usr/share/man/man1/`basename $$MANPAGE .en.1`.1*; \
done
set -e; for MANPAGE in manpages/*.en.7; \
do \
rm -f $(DESTDIR)/usr/share/man/man7/`basename $$MANPAGE .en.7`.7; \
rm -f $(DESTDIR)/usr/share/man/man7/`basename $$MANPAGE .en.7`.7*; \
done
set -e; for TRANSLATIONS in $$TRANSLATIONS; \
do \
for MANPAGE in manpages/*.$$TRANSLATION.1; \
do \
rm -f $(DESTDIR)/usr/share/man/$$TRANSLATION/man1/`basename $$MANPAGE .$$TRANSLATION.1`.1; \
rm -f $(DESTDIR)/usr/share/man/$$TRANSLATION/man1/`basename $$MANPAGE .$$TRANSLATION.1`.1*; \
done; \
for MANPAGE in manpages/*.$$TRANSLATION.7; \
do \
rm -f $(DESTDIR)/usr/share/man/$$TRANSLATION/man7/`basename $$MANPAGE .$$TRANSLATION.7`.7; \
rm -f $(DESTDIR)/usr/share/man/$$TRANSLATION/man7/`basename $$MANPAGE .$$TRANSLATION.7`.7*; \
done; \
done