File: rules

package info (click to toggle)
gamine 1.6-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,740 kB
  • sloc: ansic: 564; makefile: 77; sh: 16
file content (25 lines) | stat: -rwxr-xr-x 560 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_MAINT_OPTIONS = hardening=+all

%:
	dh $@

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

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