summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-11-03 17:10:47 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-11-15 06:12:50 +0000
commitd48dd174fe9da7551ed546618cae426318ee7182 (patch)
tree8514eb661971387790911b19e2688a9a20bd4c17 /Makefile
parentRenaming version file for consistency. (diff)
downloadsystem-build-d48dd174fe9da7551ed546618cae426318ee7182.tar.xz
system-build-d48dd174fe9da7551ed546618cae426318ee7182.zip
Removing manpage translations in order to rewrite manpage from scratch.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile34
1 files changed, 0 insertions, 34 deletions
diff --git a/Makefile b/Makefile
index b969e9b6d..71ec0f2e4 100644
--- a/Makefile
+++ b/Makefile
@@ -2,8 +2,6 @@
SHELL := sh -e
-LANGUAGES = $(shell cd manpages/po && ls)
-
SCRIPTS = frontend/* functions/* examples/auto/* examples/hooks/* scripts/*.sh scripts/*/* share/bin/* share/hooks/*/*
all: build
@@ -54,22 +52,6 @@ install:
mkdir -p $(DESTDIR)/usr/share/doc/live-build
cp -r LICENSE.txt examples $(DESTDIR)/usr/share/doc/live-build
- # Installing manpages
- for MANPAGE in manpages/en/*; \
- do \
- SECTION="$$(basename $${MANPAGE} | awk -F. '{ print $$2 }')"; \
- 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 shared data
rm -rf $(DESTDIR)/usr/share/live/build
@@ -81,22 +63,6 @@ uninstall:
# Uninstalling documentation
rm -rf $(DESTDIR)/usr/share/doc/live-build
- # Uninstalling manpages
- for MANPAGE in manpages/en/*; \
- do \
- SECTION="$$(basename $${MANPAGE} | awk -F. '{ print $$2 }')"; \
- rm -f $(DESTDIR)/usr/share/man/man$${SECTION}/$$(basename $${MANPAGE} .en.$${SECTION}).$${SECTION}; \
- done
-
- for LANGUAGE in $(LANGUAGES); \
- do \
- for MANPAGE in manpages/$${LANGUAGE}/*; \
- do \
- SECTION="$$(basename $${MANPAGE} | awk -F. '{ print $$3 }')"; \
- rm -f $(DESTDIR)/usr/share/man/$${LANGUAGE}/man$${SECTION}/$$(basename $${MANPAGE} .$${LANGUAGE}.$${SECTION}).$${SECTION}; \
- done; \
- done
-
clean:
distclean: