Gentoo Archives: gentoo-commits

From: "Keri Harris (keri)" <keri@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/gprolog/files: gprolog-1.4.0-nodocs.patch
Date: Fri, 01 Jul 2011 20:33:55
Message-Id: 20110701203345.E9F8F20051@flycatcher.gentoo.org
1 keri 11/07/01 20:33:45
2
3 Added: gprolog-1.4.0-nodocs.patch
4 Log:
5 Simplify install - docs and examples are installed based on use_with() parameters in src_configure()
6
7 (Portage version: 2.1.9.42/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 dev-lang/gprolog/files/gprolog-1.4.0-nodocs.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/gprolog/files/gprolog-1.4.0-nodocs.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/gprolog/files/gprolog-1.4.0-nodocs.patch?rev=1.1&content-type=text/plain
14
15 Index: gprolog-1.4.0-nodocs.patch
16 ===================================================================
17 --- gprolog-1.4.0.orig/src/Makefile.in 2011-04-09 04:35:22.000000000 +1200
18 +++ gprolog-1.4.0/src/Makefile.in 2011-07-02 08:25:22.000000000 +1200
19 @@ -82,7 +81,7 @@
20 # --- Links --- #
21
22 install-links: uninstall-links
23 - if test $(LINKS_DIR) != none; then \
24 + if test $(LINKS_DIR) != $(DESTDIR)none; then \
25 ./mkinstalldirs $(LINKS_DIR); \
26 (cd $(LINKS_DIR) ; $(LN_S) $(INSTALL_DIR)/bin/* .); \
27 fi
28 @@ -97,7 +96,7 @@
29 # --- Documentation --- #
30
31 install-doc:
32 - if test $(DOC_DIR) != none; then \
33 + if test $(DOC_DIR) != $(DESTDIR)none; then \
34 ./mkinstalldirs $(DOC_DIR); \
35 (F=`cd ../doc; echo $(DOC_FILES)`; \
36 for i in $$F; do $(INSTALL_DATA) ../doc/$$i $(DOC_DIR); done); \
37 @@ -113,7 +112,7 @@
38 # --- HTML --- #
39
40 install-html:
41 - if test $(HTML_DIR) != none; then \
42 + if test $(HTML_DIR) != $(DESTDIR)none; then \
43 ./mkinstalldirs $(HTML_DIR); \
44 (F=`cd ../doc/html_node; echo $(HTML_FILES)`; \
45 for i in $$F; do $(INSTALL_DATA) ../doc/html_node/$$i $(HTML_DIR); done); \
46 @@ -129,7 +128,7 @@
47 # --- Examples --- #
48
49 install-examples:
50 - if test $(EXAMPLES_DIR) != none; then \
51 + if test $(EXAMPLES_DIR) != $(DESTDIR)none; then \
52 ./mkinstalldirs $(EXAMPLES_DIR)/ExamplesPl; \
53 (F=`cd ../examples/ExamplesPl; echo $(EXPL_FILES)`; \
54 for i in $$F; do $(INSTALL_DATA) ../examples/ExamplesPl/$$i $(EXAMPLES_DIR)/ExamplesPl; done); \