File: rules

package info (click to toggle)
boxshade 3.3.1-14
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 684 kB
  • sloc: ansic: 11,264; xml: 671; sh: 28; makefile: 12
file content (20 lines) | stat: -rwxr-xr-x 442 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

include /usr/share/dpkg/buildtools.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export DH_VERBOSE=1

%:
	dh $@

override_dh_auto_build:
	$(MAKE) CC="$(CC)" -f makefile.unx CFLAGS="$(shell dpkg-buildflags --get CFLAGS)" CPPFLAGS="$(shell dpkg-buildflags --get CPPFLAGS)" LDFLAGS="$(shell dpkg-buildflags --get LDFLAGS)"

override_dh_clean:
	rm -f boxshade *.o
	dh_clean

get-orig-source:
	sh debian/get-orig-source