File: rules

package info (click to toggle)
udpkg 1.19
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 124 kB
  • sloc: ansic: 1,127; sh: 154; makefile: 38
file content (21 lines) | stat: -rwxr-xr-x 514 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#! /usr/bin/make -f
%:
	dh $@ --with autoreconf

export CFLAGS=-W -Wall -g

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