File: rules

package info (click to toggle)
libmawk 1.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,172 kB
  • sloc: ansic: 26,452; awk: 1,154; yacc: 1,054; makefile: 480; sh: 365
file content (18 lines) | stat: -rwxr-xr-x 385 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/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