File: rules

package info (click to toggle)
daa2iso 0.1.7e-1
  • links: PTS
  • area: main
  • in suites: jessie-kfreebsd, squeeze, wheezy
  • size: 168 kB
  • ctags: 338
  • sloc: ansic: 2,356; makefile: 37
file content (31 lines) | stat: -rwxr-xr-x 610 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
28
29
30
31
#!/usr/bin/make -f

export DH_VERBOSE=0

build: build-stamp
build-stamp:
	dh build --before auto_configure
	make -C src PREFIX=/usr
	dh build --after auto_build
	touch build-stamp

clean:
	dh clean --before auto_clean
	rm -f src/*.o src/*.exe src/daa2iso
	dh clean --after auto_clean

install: build install-stamp
install-stamp:
	dh install --before auto_install
	make -C src PREFIX=/usr DESTDIR=$(CURDIR)/debian/daa2iso install
	echo $DESTDIR
	dh install --after auto_install
	touch install-stamp

binary-arch: install
	dh binary-arch

binary-indep: install
	dh binary-indep

binary: binary-arch binary-indep