Drop installation of localized manpages from upstream Makefile.
authorMichael Prokop <mika@grml.org>
Wed, 8 Jun 2011 08:19:29 +0000 (10:19 +0200)
committerMichael Prokop <mika@grml.org>
Wed, 8 Jun 2011 10:14:55 +0000 (12:14 +0200)
Upstream's Makefile currently results in:

  E: live-boot: manpage-in-wrong-directory usr/share/man/en/man/live-boot.7..gz
  E: live-boot: manpage-in-wrong-directory usr/share/man/en/man/live-snapshot.1..gz

So lets drop the localized manpages and just install the english ones.

Makefile

index 4e579a3..46de269 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -66,15 +66,6 @@ install:
                install -D -m 0644 $${MANPAGE} $(DESTDIR)/usr/share/man/man$${SECTION}/$$(basename $${MANPAGE}); \
        done
 
-       for LANGUAGE in $(LANGUAGES); \
-       do \
-               for MANPAGE in manpages/$${LANGUAGE}/*; \
-               do \
-                       SECTION="$$(basename $${MANPAGE} | awk -F. '{ print $$3 }')"; \
-                       install -D -m 0644 $${MANPAGE} $(DESTDIR)/usr/share/man/$${LANGUAGE}/man$${SECTION}/$$(basename $${MANPAGE} .$${LANGUAGE}.$${SECTION}).$${SECTION}; \
-               done; \
-       done
-
 uninstall:
        # Uninstalling executables
        rm -f $(DESTDIR)/sbin/live-snapshot $(DESTDIR)/sbin/live-swapfile