File: rules

package info (click to toggle)
dhttpd 1.02a-18
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 256 kB
  • ctags: 55
  • sloc: cpp: 622; sh: 185; makefile: 43
file content (32 lines) | stat: -rwxr-xr-x 680 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
#!/usr/bin/make -f

include /usr/share/quilt/quilt.make

build: build-stamp
build-stamp: $(QUILT_STAMPFN)
	dh build
	touch $@

override_dh_auto_build:
	make -C src

clean: unpatch
unpatch: debhelper_clean
debhelper_clean: $(QUILT_STAMPFN)
	dh clean

override_dh_auto_test:
	@echo "No automatic tests, if you want to test that it works try running ./debian/test"

install: build
	dh $@

override_dh_installinit:
	dh_installinit  -pdhttpd --update-rcd-params='defaults 50' --init-script=dhttpd 

binary-arch: install
	dh $@

binary:	binary-indep binary-arch

.PHONY: binary binary-arch binary-indep clean debhelper_clean unpatch override_dh_installinit override_dh_auto_build build