File: rules

package info (click to toggle)
supertransball2 1.5-10
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,356 kB
  • sloc: cpp: 5,665; makefile: 41
file content (20 lines) | stat: -rwxr-xr-x 512 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
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --sourcedirectory=sources

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" -delete

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