1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
#!/usr/bin/make -f
#export DH_VERBOSE=1
PACKAGE = chemtool
export CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
export CFLAGS := $(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed
export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed
%:
dh $@ --with autotools_dev --parallel
override_dh_auto_configure:
dh_auto_configure -- --without-gnomedir --without-kdedir
override_dh_auto_install:
dh_auto_install
$(RM) $(CURDIR)/debian/${PACKAGE}/usr/bin/chemtoolbg
override_dh_auto_test:
|