File: rules

package info (click to toggle)
patchelf 0.9%2B52.20180509-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 636 kB
  • sloc: cpp: 3,763; sh: 254; makefile: 92; ansic: 37
file content (26 lines) | stat: -rwxr-xr-x 467 bytes parent folder | download | duplicates (3)
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
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_auto_build: src/elf.h.bak
	dh_auto_build

override_dh_auto_clean: src/elf.h
	[ ! -f Makefile ] || $(MAKE) maintainer-clean
	rm -rf build-aux
	find . -name Makefile.in -delete
	rm -f configure
	rm -f aclocal.m4

src/elf.h.bak:
	mv src/elf.h src/elf.h.bak

src/elf.h:
	mv src/elf.h.bak src/elf.h