blob: 1ec42fce96166ba4ad77e331ecbf98f261c45ce4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
Don't install the example files. The second hunk is to workaround
shells that suck at life.
http://bugs.gentoo.org/show_bug.cgi?id=89174
--- groff-1.18/doc/Makefile.sub
+++ groff-1.18/doc/Makefile.sub
@@ -60,12 +60,12 @@
HTMLDOCIMAGEFILES=\
pic*
-EXAMPLEFILES=\
+EXAMPLEFILES=#\
webpage.ms \
grnexmpl.g \
grnexmpl.me
-PROCESSEDEXAMPLEFILES=\
+PROCESSEDEXAMPLEFILES=#\
webpage.ps \
gnu.eps \
gnu.png \
@@ -170,11 +170,11 @@
$(INSTALL_DATA) $$f $(docdir)/$$f; \
done
-test -d $(exampledir) || $(mkinstalldirs) $(exampledir)
- for f in $(EXAMPLEFILES); do \
+ list="$(EXAMPLEFILES)"; for f in $${list}; do \
rm -f $(exampledir)/$$f; \
$(INSTALL_DATA) $(srcdir)/$$f $(exampledir)/$$f; \
done
- for f in $(PROCESSEDEXAMPLEFILES); do \
+ list="$(PROCESSEDEXAMPLEFILES)"; for f in $${list}; do \
rm -f $(exampledir)/$$f; \
$(INSTALL_DATA) $$f $(exampledir)/$$f; \
done
|