File: rules

package info (click to toggle)
genparse 0.9.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 3,372 kB
  • ctags: 2,722
  • sloc: ansic: 8,795; cpp: 6,060; sh: 5,336; java: 578; yacc: 482; lex: 315; makefile: 310
file content (34 lines) | stat: -rwxr-xr-x 623 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
#!/usr/bin/make -f

PACKAGE = genparse

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

RM = \
 tests/misc/quotearg.c \
 tests/misc/quotearg.h

override_dh_configure:
	dh_autotools-dev_updateconfig
	autoreconf -fi
	dh_configure

override_dh_auto_clean:
	dh_autotools-dev_restoreconfig
	dh_auto_clean

override_dh_clean:
	dh_clean
	rm -f $(RM)

override_dh_install:
	dh_install
	# remove central info "dir", handled by install-info
	rm -f debian/$(PACKAGE)/usr/share/info/dir*

%:
	dh $@ --with autotools_dev

# End of file