#!/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 $@ --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:

