File: rules

package info (click to toggle)
sitecopy 1%3A0.16.6-16
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,900 kB
  • sloc: ansic: 48,856; sh: 3,983; makefile: 776; yacc: 291; awk: 58; sed: 27
file content (35 lines) | stat: -rwxr-xr-x 891 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
27
28
29
30
31
32
33
34
35
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND := -Wall
export DEB_CXXFLAGS_MAINT_APPEND := -Wall

%:
	dh $@

override_dh_auto_configure: configure
	$(RM) -rf intl

	dh_auto_configure --verbose -- \
		  --with-libxml2 \
		  --with-expat \
		  --with-included-expat=no \
		  --with-neon \
		  --with-included-neon=no \
		  --with-ssl=gnutls

override_dh_auto_install:
	dh_auto_install --verbose
	rm -rf $(CURDIR)/debian/sitecopy/usr/doc

override_dh_clean:
	dh_clean ABOUT-NLS po/ChangeLog po/gettext.m4 po/host-cpu-c-abi.m4 \
	po/iconv.m4 po/intlmacosx.m4 po/lib-ld.m4 po/lib-link.m4 \
	po/lib-prefix.m4 po/nls.m4 po/po.m4 po/progtest.m4 po/POTFILES \
	po/stamp-po po/Makefile.in po/*.gmo sitecopy configure config.log \
	config.status config.h

	find -name Makefile -delete