File: rules

package info (click to toggle)
base-installer 1.13.4sarge3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 808 kB
  • ctags: 19
  • sloc: sh: 693; ansic: 356; makefile: 45
file content (38 lines) | stat: -rwxr-xr-x 576 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
32
33
34
35
36
37
38
#! /usr/bin/make -f

build: build-stamp
build-stamp:
	dh_testdir
ifeq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
	$(MAKE) small
else
	$(MAKE) DEBUG=1
endif
	touch $@

clean:
	dh_testdir
	rm -f build-stamp
	$(MAKE) clean    
	dh_clean

install: build
	dh_testdir
	dh_testroot
	dh_clean -k
	dh_install run-debootstrap usr/sbin

binary-arch: install
	dh_testdir
	dh_testroot
	dh_installdebconf -n
	dh_strip
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_builddeb

binary: binary-indep binary-arch
.PHONY: clean binary-indep binary-arch binary install