Index: debian/rules =================================================================== --- debian/rules (revision 28311) +++ debian/rules (revision 28312) @@ -14,17 +14,16 @@ dh $@ endif +override_dh_auto_clean: + # only try to run dh_auto_clean if configure has been run + test -f Makefile.conf && dh_auto_clean || true + override_dh_auto_configure: ./configure \ + --LDFLAGS='$(LDFLAGS)' \ + --CFLAGS='$(CFLAGS) $(CPPFLAGS)' --symbols \ - --all=buildin \ --prefix=/usr \ --confdir=/etc/pcb-rnd \ --prefix/libs/script/fungw=/dev/null \ \ - --LDFLAGS='$(LDFLAGS)' \ - --CFLAGS='$(CFLAGS) $(CPPFLAGS)' - -override_dh_auto_clean: - # only try to run dh_auto_clean if configure has been run - test -f Makefile.conf && dh_auto_clean || true