File: rules

package info (click to toggle)
pasco 20040505-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 132 kB
  • sloc: ansic: 342; makefile: 17
file content (13 lines) | stat: -rwxr-xr-x 314 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f
#export DH_VERBOSE=1

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

%:
	dh $@ --sourcedirectory=src

override_dh_clean:
	dh_clean
	if [ -f $(CURDIR)/bin ]; then rm -f $(CURDIR)/bin; fi
	if [ -d $(CURDIR)/bin ]; then rm -f $(CURDIR)/bin/*; fi