X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=Makefile;h=46de2695e30b639d76283f6662fd6ea803449399;hb=1ff6cc29bb8dfd8424707703af45c1bea8f6daaa;hp=dae4ec1df24b88e6e17fe62e92e304ff6171bfb0;hpb=f4223c0f74f4dcf60e6a8740d216871e96ae2068;p=live-boot-grml.git diff --git a/Makefile b/Makefile index dae4ec1..46de269 100644 --- a/Makefile +++ b/Makefile @@ -2,11 +2,11 @@ SHELL := sh -e -LANGUAGES = de +LANGUAGES = en $(shell cd manpages/po && ls) SCRIPTS = bin/* hooks/* scripts/live scripts/live-functions scripts/live-helpers scripts/*/* -all: test build +all: build test: @echo -n "Checking for syntax errors" @@ -43,7 +43,7 @@ build: install: # Installing executables mkdir -p $(DESTDIR)/sbin - cp bin/live-new-uuid bin/live-snapshot bin/live-swapfile bin/live-toram $(DESTDIR)/sbin + cp bin/live-new-uuid bin/live-snapshot bin/live-swapfile $(DESTDIR)/sbin mkdir -p $(DESTDIR)/usr/share/live-boot cp bin/live-preseed bin/live-reconfigure local/languagelist $(DESTDIR)/usr/share/live-boot @@ -66,18 +66,9 @@ 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 $(DESTDIR)/sbin/live-toram + rm -f $(DESTDIR)/sbin/live-snapshot $(DESTDIR)/sbin/live-swapfile rmdir --ignore-fail-on-non-empty $(DESTDIR)/sbin rm -rf $(DESTDIR)/usr/share/live-boot