File: rules

package info (click to toggle)
moon-lander 1%3A1.0-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,344 kB
  • sloc: ansic: 1,732; makefile: 31; sh: 19
file content (20 lines) | stat: -rwxr-xr-x 564 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
#export DH_OPTIONS=-v

override_dh_auto_install:
	true	# Don't call upstream's install.sh

execute_after_dh_install-indep:
	mkdir -p $(CURDIR)/debian/moon-lander-data/usr/share/icons/hicolor/64x64/apps
	icotool -x --index=1 \
	  -o $(CURDIR)/debian/moon-lander-data/usr/share/icons/hicolor/64x64/apps/moon-lander.png \
	  images/moon-lander.ico

execute_after_dh_fixperms-indep:
	find $(CURDIR)/debian/moon-lander-data/ -type f -print0 | \
          xargs -0r chmod 644

%:
	dh  $@