]> git.donarmstrong.com Git - lilypond.git/commitdiff
remove lily/out/parser in rules too to avoid bison problems
authorDon Armstrong <don@donarmstrong.com>
Tue, 31 Dec 2013 17:44:36 +0000 (09:44 -0800)
committerDon Armstrong <don@donarmstrong.com>
Tue, 31 Dec 2013 17:44:36 +0000 (09:44 -0800)
debian/rules

index 7e95c5cb7b95066a0bfa32002da96a46fdafd8d5..bf8c1b240e3fefe0ee3571d0937bebfd3942304f 100755 (executable)
@@ -35,7 +35,10 @@ endif
        dh $@ --parallel --with autotools-dev --with python2 --with quilt
 
 
-override_dh_auto_configure: 
+## we need to nuke the parser files, because if there is a mistmatch
+## between upstreams bison and our bison, the build will fail epically
+override_dh_auto_configure:
+       rm -f lily/out/parser.*
        dh_auto_configure -- --disable-checking --enable-debugging $(config_opt)
 
 override_dh_auto_build-indep:
@@ -58,6 +61,11 @@ override_dh_auto_install-arch:
                $(MAKE) --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C $$dir install $(DOC_OPTIONS) prefix=$(CURDIR)/debian/tmp/usr/; \
        done;
 
+## we need to nuke the parser files, because if there is a mistmatch
+## between upstreams bison and our bison, the build will fail epically
+override_dh_auto_clean:
+       rm -f lily/out/parser.*
+       dh_auto_clean
 
 ## we need to install only the png, jpg, css, ly and english html
 ## files into the doc-html package, and only the english pdfs into the