File: rules

package info (click to toggle)
chafa 1.18.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,828 kB
  • sloc: ansic: 52,456; xml: 881; sh: 610; makefile: 466; python: 334
file content (26 lines) | stat: -rwxr-xr-x 500 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS  = hardening=+all

%:
	dh $@

override_dh_autoreconf:
	touch gtk-doc.make
	echo "EXTRA_DIST =" >> gtk-doc.make
	echo "CLEANFILES =" >> gtk-doc.make
	mkdir m4 # needed by autoconf 2.70+
	gtkdocize
	dh_autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --enable-rpath=no --without-imagemagick

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	$(MAKE) check
endif

override_dh_auto_clean:
	dh_auto_clean
	-$(RM) -rf m4