| 1 |
#!/usr/bin/make -f |
| 2 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 3 |
|
| 4 |
%: |
| 5 |
dh $@ |
| 6 |
|
| 7 |
override_dh_auto_build: |
| 8 |
dh_auto_build -- \ |
| 9 |
PREFIX=/usr \ |
| 10 |
BINDIR=/usr/games \ |
| 11 |
DESTDIR=$(CURDIR)/debian/tmp \ |
| 12 |
PKGDATADIR=/usr/share/games/gamine \ |
| 13 |
SYSCONFDIR=/etc |
| 14 |
|
| 15 |
override_dh_auto_install: |
| 16 |
$(MAKE) \ |
| 17 |
install \ |
| 18 |
PREFIX=/usr \ |
| 19 |
BINDIR=/usr/games \ |
| 20 |
DESTDIR=$(CURDIR)/debian/tmp \ |
| 21 |
PKGDATADIR=/usr/share/games/gamine |
| 22 |
|
| 23 |
execute_after_dh_install: |
| 24 |
cd debian/tmp/usr/share/doc/gamine/ && $(RM) COPYING ChangeLog README* |
| 25 |
$(RM) -r debian/gamine-data/usr/share/applications |