File: rules

package info (click to toggle)
aumix 2.9.1-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,324 kB
  • sloc: sh: 4,682; ansic: 2,597; makefile: 45
file content (27 lines) | stat: -rwxr-xr-x 642 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
26
27
#!/usr/bin/make -f

# Prevent needless linking / dependencies
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-need

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --without-gtk

override_dh_auto_install:
	dh_auto_install --destdir debian/tmp/aumix \
		-- pkgdatadir=\$${datadir}/aumix/

	sh ./debian/make-README.sh aumix > debian/aumix.README.Debian

override_dh_clean:
	dh_clean

	rm -f po/*gmo po/stamp-po
	rm -rf build
	rm -f debian/aumix.README.Debian debian/aumix-gtk.README.Debian

override_dh_installinit:
	dh_installinit -paumix-common --no-stop-on-upgrade --no-start \
		--name=aumix -u "start 21 2 3 4 5 . stop 19 0 1 6 ."