File: rules

package info (click to toggle)
xfsdump 3.2.0-2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,012 kB
  • sloc: ansic: 45,797; sh: 3,449; makefile: 512
file content (26 lines) | stat: -rwxr-xr-x 647 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
#!/usr/bin/make -f

export DH_VERBOSE=1
export AUTOHEADER=true

options = export DEBUG=-DNDEBUG DISTRIBUTION=debian \
	  INSTALL_USER=root INSTALL_GROUP=root ;

%:
	dh $@

override_dh_auto_configure:
	@echo "== dpkg-buildpackage: configure" 1>&2
	dh_update_autotools_config
	$(options) $(MAKE) include/config.h LOCAL_CONFIGURE_OPTIONS='--exec-prefix=/nondefault --sbindir=/usr/sbin'
	touch .gitcensus

override_dh_auto_build:
	@echo "== dpkg-buildpackage: build" 1>&2
	dh_auto_build -- V=1 default

override_dh_clean:
	@echo "== dpkg-buildpackage: clean" 1>&2
	-rm -f debian/*substvars debian/files* debian/*.debhelper
	rm -f .gitcensus
	dh_clean