1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
#!/usr/bin/make -f
include /usr/share/quilt/quilt.make
# Need to depend on the patch stamp, and need to pass a specific flag
# to ./configure, hence a specific target:
build: $(QUILT_STAMPFN)
dh build --before auto_configure
dh_auto_configure -- LDFLAGS="-Wl,-z,defs -Wl,--as-needed"
dh build --after auto_configure
# Make sure patches get unapplied:
clean: unpatch
dh clean
# Make sure l10n files are properly rebuilt:
rm -f po/stamp-po po/*.gmo
# Everything else:
%:
dh $@
|