1 commit ebdefd9601c017c5a7264a94cee2c7af914bca76
2 Author: Michael Prokop <mika@grml.org>
3 Date: Wed Jun 8 10:19:29 2011 +0200
5 Drop installation of localized manpages from upstream Makefile.
7 Upstream's Makefile currently results in:
9 E: live-boot: manpage-in-wrong-directory usr/share/man/en/man/live-boot.7..gz
10 E: live-boot: manpage-in-wrong-directory usr/share/man/en/man/live-snapshot.1..gz
12 So lets drop the localized manpages and just install the english ones.
17 install -D -m 0644 $${MANPAGE} $(DESTDIR)/usr/share/man/man$${SECTION}/$$(basename $${MANPAGE}); \
20 - for LANGUAGE in $(LANGUAGES); \
22 - for MANPAGE in manpages/$${LANGUAGE}/*; \
24 - SECTION="$$(basename $${MANPAGE} | awk -F. '{ print $$3 }')"; \
25 - install -D -m 0644 $${MANPAGE} $(DESTDIR)/usr/share/man/$${LANGUAGE}/man$${SECTION}/$$(basename $${MANPAGE} .$${LANGUAGE}.$${SECTION}).$${SECTION}; \
30 # Uninstalling executables
31 rm -f $(DESTDIR)/sbin/live-snapshot $(DESTDIR)/sbin/live-swapfile