File: rules

package info (click to toggle)
sitecopy 1%3A0.16.6-9
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 5,844 kB
  • sloc: ansic: 48,856; sh: 3,983; makefile: 787; yacc: 291; awk: 58; sed: 27
file content (48 lines) | stat: -rwxr-xr-x 1,257 bytes parent folder | download | duplicates (2)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/usr/bin/make -f

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

export DEB_CFLAGS_MAINT_APPEND := -Wall
export DEB_CXXFLAGS_MAINT_APPEND := -Wall

%:
	dh $@

override_dh_autoreconf:
	cp /usr/share/aclocal/gettext.m4 po
	cp /usr/share/aclocal/host-cpu-c-abi.m4 po
	cp /usr/share/aclocal/iconv.m4 po
	cp /usr/share/aclocal/intlmacosx.m4 po
	cp /usr/share/aclocal/lib-ld.m4 po
	cp /usr/share/aclocal/lib-link.m4 po
	cp /usr/share/aclocal/lib-prefix.m4 po
	cp /usr/share/aclocal/nls.m4 po
	cp /usr/share/aclocal/po.m4 po
	cp /usr/share/aclocal/progtest.m4 po

	dh_autoreconf

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