summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-11-03 17:12:04 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-11-15 06:35:40 +0000
commit4126f64ed80de2643748ae24cead8ec51d7d6657 (patch)
treede4c9a13c68937a911dd039fb62816b708e506ce /Makefile
parentAdding cgroup_enable=memory elevator=deadline swapaccount=1 as boot parameter... (diff)
downloadsystem-images-4126f64ed80de2643748ae24cead8ec51d7d6657.tar.xz
system-images-4126f64ed80de2643748ae24cead8ec51d7d6657.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--Makefile44
1 files changed, 0 insertions, 44 deletions
diff --git a/Makefile b/Makefile
index 23ae1d0..c8bcfb7 100644
--- a/Makefile
+++ b/Makefile
@@ -10,8 +10,6 @@
SHELL := sh -e
-LANGUAGES = $(shell cd manpages/po && ls)
-
SCRIPTS = images/*/auto/* images/*/config/hooks/*
all: build
@@ -59,22 +57,6 @@ install:
mkdir -p $(DESTDIR)/usr/share/doc/live-images
cp -r COPYING $(DESTDIR)/usr/share/doc/live-images
- # 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 image configs
rm -rf $(DESTDIR)/usr/share/live/images
@@ -86,32 +68,6 @@ uninstall:
rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share > /dev/null 2>&1 || true
rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr > /dev/null 2>&1 || true
- # 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
-
- for SECTION in $(ls manpages/en/* | awk -F. '{ print $2 }'); \
- do \
- rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share/man/man$${SECTION} > /dev/null 2>&1 || true; \
- rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share/man/*/man$${SECTION} > /dev/null 2>&1 || true; \
- done
-
- rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share/man > /dev/null 2>&1 || true
- rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share > /dev/null 2>&1 || true
- rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr > /dev/null 2>&1 || true
-
rmdir --ignore-fail-on-non-empty $(DESTDIR) > /dev/null 2>&1 || true
clean: