Package list libmawk / a8c8f483-bda4-4dcb-b181-d7b9964ade2c/main debian / rules
a8c8f483-bda4-4dcb-b181-d7b9964ade2c/main

Tree @a8c8f483-bda4-4dcb-b181-d7b9964ade2c/main (Download .tar.gz)

rules @a8c8f483-bda4-4dcb-b181-d7b9964ade2c/mainraw · history · blame

#!/usr/bin/make -f

DH_VERBOSE = 1
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

%:
	dh $@

override_dh_auto_configure:
	./configure \
    --prefix=/usr \
    --LDFLAGS='$(LDFLAGS)' \
    --CFLAGS='$(CFLAGS) $(CPPFLAGS)'

override_dh_auto_clean:
	# only try to run dh_auto_clean if configure has been run
	test -f src/libmawk/Makefile.conf && dh_auto_clean || true