File: rules

package info (click to toggle)
gamine 1.5-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,728 kB
  • ctags: 89
  • sloc: ansic: 564; makefile: 81; sh: 7
file content (31 lines) | stat: -rwxr-xr-x 723 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
26
27
28
29
30
31
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@ --parallel

override_dh_auto_build:
	dh_auto_build -- \
		PREFIX=/usr \
		BINDIR=/usr/games \
		DESTDIR=$(CURDIR)/debian/tmp \
		PKGDATADIR=/usr/share/games/gamine \
		SYSCONFDIR=/etc

override_dh_auto_install:
	$(MAKE) \
		install \
		PREFIX=/usr \
		BINDIR=/usr/games \
		DESTDIR=$(CURDIR)/debian/tmp \
		PKGDATADIR=/usr/share/games/gamine

override_dh_install:
	cd debian/tmp/usr/share/doc/gamine/ && $(RM) COPYING ChangeLog README*
	dh_install --fail-missing
	$(RM) -r debian/gamine-data/usr/share/applications

get-orig-source:
	uscan --verbose --download-current-version --force-download