summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2011-08-03 20:42:46 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2011-08-03 20:42:46 +0000
commit43e5dd9ccad9be82543ea00171232105729abbe7 (patch)
treeeb00802664fa7313696929a59b5e320d1bc3f2cc /x11-wm/i3/files
parentFix for prefix. (diff)
downloadgentoo-2-43e5dd9ccad9be82543ea00171232105729abbe7.tar.gz
gentoo-2-43e5dd9ccad9be82543ea00171232105729abbe7.tar.bz2
gentoo-2-43e5dd9ccad9be82543ea00171232105729abbe7.zip
Fix man installation wrt bug 377453 by Lasse Lindner <gentoo@lasse-lindner.de>
(Portage version: 2.2.0_alpha49/cvs/Linux x86_64)
Diffstat (limited to 'x11-wm/i3/files')
-rw-r--r--x11-wm/i3/files/i3-4.0.1-gentoo-r1.diff (renamed from x11-wm/i3/files/i3-4.0.1-gentoo.diff)15
1 files changed, 7 insertions, 8 deletions
diff --git a/x11-wm/i3/files/i3-4.0.1-gentoo.diff b/x11-wm/i3/files/i3-4.0.1-gentoo-r1.diff
index 5d3c6ec082af..26189cb7b056 100644
--- a/x11-wm/i3/files/i3-4.0.1-gentoo.diff
+++ b/x11-wm/i3/files/i3-4.0.1-gentoo-r1.diff
@@ -97,29 +97,28 @@
for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir install; \
done
-+ $(MAKE) -C man
++ $(MAKE) -C man install
dist: distclean
[ ! -d i3-${VERSION} ] || rm -rf i3-${VERSION}
--- a/man/Makefile
+++ b/man/Makefile
-@@ -1,6 +1,8 @@
+@@ -1,6 +1,9 @@
A2M:=a2x -f manpage --asciidoc-opts="-f asciidoc.conf"
++include ../common.mk
-all: i3.1 i3-msg.1 i3-input.1 i3-nagbar.1 i3-wsbar.1 i3-config-wizard.1 i3-migrate-config-to-v4.1
-+mans=i3.1 i3-msg.1 i3-input.1 i3-nagbar.1 i3-wsbar.1 i3-config-wizard.1 i3-migrate-config-to-v4.1
++MANS=i3.1 i3-msg.1 i3-input.1 i3-nagbar.1 i3-wsbar.1 i3-config-wizard.1 i3-migrate-config-to-v4.1
+
-+all: $(mans)
++all: $(MANS)
%.1: %.man asciidoc.conf
${A2M} $<
-@@ -16,3 +18,9 @@
+@@ -16,3 +19,7 @@
distclean: clean
rm -f *.1
+
+install:
+ $(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/share/man/man1
-+ for man in $(mans); do \
-+ $(INSTALL) -m 0644 $$man $(DESTDIR)$(PREFIX)/share/man/man1
-+ done
++ $(INSTALL) -m 0644 *.1 $(DESTDIR)$(PREFIX)/share/man/man1