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.
15 ===================================================================
16 --- a/Makefile 2011-07-24 22:07:22.000000000 +0200
17 +++ b/Makefile 2011-07-24 22:08:15.000000000 +0200
19 install -D -m 0644 $${MANPAGE} $(DESTDIR)/usr/share/man/man$${SECTION}/$$(basename $${MANPAGE}); \
22 - for LANGUAGE in $(LANGUAGES); \
24 - for MANPAGE in manpages/$${LANGUAGE}/*; \
26 - SECTION="$$(basename $${MANPAGE} | awk -F. '{ print $$3 }')"; \
27 - install -D -m 0644 $${MANPAGE} $(DESTDIR)/usr/share/man/$${LANGUAGE}/man$${SECTION}/$$(basename $${MANPAGE} .$${LANGUAGE}.$${SECTION}).$${SECTION}; \
32 # Uninstalling executables
33 rm -f $(DESTDIR)/sbin/live-snapshot $(DESTDIR)/sbin/live-swapfile