File: rules

package info (click to toggle)
pioneers 15.6-2
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 13,584 kB
  • sloc: ansic: 43,583; sh: 4,353; makefile: 874; xml: 24
file content (44 lines) | stat: -rwxr-xr-x 1,171 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
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DH_OPTIONS

%:
	dh $@

override_dh_update_autotools_config:
	mkdir -p .backup_autoconf/client/help
	cp -a Makefile.in .backup_autoconf
	cp -a client/help/Makefile.in .backup_autoconf/client/help
	cp -a compile config* depcomp install-sh missing .backup_autoconf
	cp -a m4 .backup_autoconf
	ls -lR .backup_autoconf
	NOCONFIGURE=1 ./autogen.sh
	dh_update_autotools_config

override_dh_auto_configure:
	dh_auto_configure -- \
		--bindir=/usr/games \
		--enable-warnings \
		--disable-deprecation-checks

override_dh_clean:
	-rm ltmain.sh config.sub config.guess aclocal.m4
	debconf-updatepo
	if [ -d .backup_autoconf ] ; then \
	    mv .backup_autoconf/client/help/Makefile.in client/help ; \
	    mv .backup_autoconf/m4/* m4 ; \
	    mv .backup_autoconf/co* . ; \
	    mv .backup_autoconf/[Mdim]* . ; \
	    rm -rf .backup_autoconf ; \
	fi
	dh_clean
	rm -f config.guess config.sub # For some reason this is missing in backup and changed somehow

override_dh_installdocs:
	dh_installdocs --all NEWS

override_dh_installchangelogs:
	dh_installchangelogs -XChangeLog