File: rules

package info (click to toggle)
udpkg 1.21
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 132 kB
  • sloc: ansic: 1,189; sh: 154; makefile: 39
file content (22 lines) | stat: -rwxr-xr-x 516 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
#! /usr/bin/make -f
%:
	dh $@ --with autoreconf

CFLAGS?=-g
CFLAGS+=-W -Wall

autoreconf:
	autoreconf -f -i
	# autoreconf will not do this for us, since this package does not use
	# automake.
	cp -f /usr/share/misc/config.guess /usr/share/misc/config.sub ./

override_dh_autoreconf:
	dh_autoreconf debian/rules -- autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --without-depends --without-debug --without-l10n \
		--without-remove --with-admindir=/var/lib/dpkg

override_dh_auto_build:
	$(MAKE) small