X-Git-Url: http://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=4e579a32786c8ba2f56f4b313f81494b30b34d5b;hb=79a3a56c3458d79a855d78daa1e82ef582202aab;hp=46de2695e30b639d76283f6662fd6ea803449399;hpb=ebdefd9601c017c5a7264a94cee2c7af914bca76;p=live-boot-grml.git diff --git a/Makefile b/Makefile index 46de269..4e579a3 100644 --- a/Makefile +++ b/Makefile @@ -66,6 +66,15 @@ 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