File: rules

package info (click to toggle)
kluppe 0.6.14-1
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 900 kB
  • ctags: 1,361
  • sloc: ansic: 13,547; makefile: 84; sh: 22
file content (27 lines) | stat: -rwxr-xr-x 742 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
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh --with quilt $@

override_dh_auto_build:
	$(MAKE) CFLAGS="$(CFLAGS)" INSTALL_PREFIX=/usr

override_dh_auto_clean:
	dh clean --before dh_auto_clean
	[ ! -f Makefile ] || $(MAKE) clean INSTALL_PREFIX=/usr
	dh clean --after dh_auto_clean

override_dh_auto_install:
	dh install --before dh_auto_install
	$(MAKE) install CFLAGS="$(CFLAGS)" DESTDIR=$(CURDIR)/debian/kluppe INSTALL_PREFIX=/usr
	dh_install debian/kluppe.desktop usr/share/applications
	dh install --after dh_auto_install

override_dh_installchangelogs:
	dh_installchangelogs CHANGES.log