File: rules

package info (click to toggle)
supertransball2 1.5-6
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,336 kB
  • ctags: 477
  • sloc: cpp: 5,665; makefile: 45
file content (25 lines) | stat: -rwxr-xr-x 575 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
#!/usr/bin/make -f
export DEB_BUILD_HARDENING=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ 

override_dh_auto_build:
	cd sources && $(MAKE)

override_dh_auto_install-arch:
	cd sources && $(MAKE) install \
		DESTDIR=$(CURDIR)/debian/supertransball2

override_dh_auto_install-indep:
	cd sources && $(MAKE) install-data \
		DESTDIR=$(CURDIR)/debian/supertransball2-data
	find $(CURDIR)/debian/supertransball2-data \
		-name "WS_FTP.LOG" -exec rm {} \;

override_dh_installdocs:
	head -n 40 readme.txt > README
	tail -n 38 readme.txt > changelog
	dh_installdocs