Package: bison / 2:3.0.2.dfsg-2

01_inhibit_example_generation Patch series | download
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
Description: Inhibit example code extraction
 The Debian bison package cannot extract example code from info
 documentation because said documentation is moved into the
 bison-doc pacakge due to DFSG non-compliance.  Leaving
 example code extraction in the build process breaks parallel
 builds, so this patch is necessary to make parallel builds work.
Bug-Debian: http://bugs.debian.org/732034
Forwarded: not-needed
Author: Chuan-kai Lin <cklin@debian.org>
Last-Update: 2013-12-16

--- a/Makefile.in
+++ b/Makefile.in
@@ -5194,8 +5194,7 @@
 	$(AM_V_at)mv $@.tmp $@
 
 $(extracted): examples/extracted.stamp
-	@test -f $@ || rm -f examples/extracted.stamp
-	@test -f $@ || $(MAKE) $(AM_MAKEFLAGS) examples/extracted.stamp
+	touch $@
 
 # Don't depend on $(BISON) otherwise we would rebuild these files
 # in srcdir, including during distcheck, which is forbidden.
--- a/examples/local.mk
+++ b/examples/local.mk
@@ -35,8 +35,7 @@
 	$(AM_V_at)mv $@.tmp $@
 
 $(extracted): %D%/extracted.stamp
-	@test -f $@ || rm -f %D%/extracted.stamp
-	@test -f $@ || $(MAKE) $(AM_MAKEFLAGS) %D%/extracted.stamp
+	touch $@
 
 include %D%/calc++/local.mk
 include %D%/mfcalc/local.mk