File: rules

package info (click to toggle)
invaders 1.0.0-13
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 296 kB
  • ctags: 384
  • sloc: ansic: 1,944; sh: 54; asm: 28; makefile: 16
file content (22 lines) | stat: -rwxr-xr-x 442 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
21
22
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_build:
	sh ./compile.sh

override_dh_auto_clean:
	sh ./clean.sh

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

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