File: rules

package info (click to toggle)
invaders 1.0.0-19
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 324 kB
  • sloc: ansic: 2,231; sh: 56; asm: 28; makefile: 17
file content (24 lines) | stat: -rwxr-xr-x 510 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
#!/usr/bin/make -f

DPKG_EXPORT_BUILDTOOLS = 1
include /usr/share/dpkg/buildtools.mk

%:
	dh $@

override_dh_auto_build:
	sh ./compile.sh

override_dh_auto_clean:
	sh ./clean.sh

execute_after_dh_fixperms:
	chmod 0644 debian/grub-invaders/boot/invaders.exec
	chmod 0755 debian/grub-invaders/etc/grub.d/22_invaders

override_dh_dwz:
override_dh_strip:
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
	$(STRIP) --remove-section=.comment --remove-section=.note \
	debian/grub-invaders/boot/invaders.exec
endif