Home | History | Annotate | Line # | Download | only in debian
rules revision 1.1.1.3
      1      1.1  christos #!/usr/bin/make -f
      2  1.1.1.3  christos 
      3      1.1  christos # Uncomment this to turn on verbose mode.
      4      1.1  christos #export DH_VERBOSE=1
      5      1.1  christos 
      6  1.1.1.3  christos export DEB_BUILD_MAINT_OPTIONS := hardening=+all qa=+bug reproducible=+all
      7      1.1  christos 
      8  1.1.1.3  christos %:
      9  1.1.1.3  christos 	dh $@
     10      1.1  christos 
     11  1.1.1.3  christos # dh_autoreconf interferes with portability -- skip it
     12  1.1.1.3  christos override_dh_autoreconf:
     13  1.1.1.3  christos 	echo "skip: dh_autoreconf autoreconf-dickey -- -f -i"
     14  1.1.1.3  christos 
     15  1.1.1.3  christos override_dh_auto_configure:
     16  1.1.1.3  christos 	dh_auto_configure -- \
     17  1.1.1.3  christos 		--enable-warnings \
     18  1.1.1.3  christos 		--verbose \
     19  1.1.1.3  christos 		--enable-stdnoreturn \
     20  1.1.1.3  christos 		--enable-btyacc \
     21  1.1.1.3  christos 		--with-max-table-size=123456 \
     22  1.1.1.3  christos 		--program-transform-name='s,^yacc,byacc2,'
     23      1.1  christos 
     24  1.1.1.3  christos 	# workaround for whatis
     25  1.1.1.3  christos 	sed -i '/- an LALR/s,^..N,byacc2,' yacc.1
     26      1.1  christos 
     27  1.1.1.3  christos 	# omit tests which rely upon getopt error-messages
     28  1.1.1.3  christos 	sed -i.bak '/MYFILE=nosuchfile/,/# Test special cases/d' test/run_test.sh
     29  1.1.1.3  christos 	diff -u test/run_test.sh.bak test/run_test.sh || echo OK
     30