File: rules

package info (click to toggle)
lcab 1.0b12-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, stretch
  • size: 480 kB
  • ctags: 123
  • sloc: sh: 815; ansic: 710; makefile: 27
file content (35 lines) | stat: -rwxr-xr-x 627 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS	= hardening=+all
export DEB_CFLAGS_MAINT_APPEND	= -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

# due to autoreconf(1)
FILE_LIST_PRESERVE = \
 Makefile \
 Makefile.in \
 aclocal.m4 \
 config.h.in \
 configure \
 depcomp \
 install-sh \
 missing \
 mkinstalldirs \

include debian/debian-save-restore.mk

override_dh_auto_configure:
	$(file-state-save)
	cp -v /usr/share/misc/config.sub .
	cp -v /usr/share/misc/config.guess .
	autoreconf -fi
	dh_auto_configure

override_dh_auto_build:
	dh_auto_build
	$(file-state-restore-copy)

%:
	dh $@

# End of file