File: rules

package info (click to toggle)
nant 0.85.dfsg1-9
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 8,364 kB
  • ctags: 6,756
  • sloc: cs: 50,420; sh: 1,014; makefile: 87; cpp: 70; xml: 40
file content (35 lines) | stat: -rwxr-xr-x 788 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
#!/usr/bin/make -f
export DH_VERBOSE=1

include /usr/share/dpatch/dpatch.make
include /usr/share/cli-common/cli.make

MAKE_FLAGS = MONO=/usr/bin/cli MCS=/usr/bin/mono-csc

build: build-stamp
build-stamp: $(DPATCH_STAMPFN)
	dh build --before dh_auto_build
	$(MAKE) $(MAKE_FLAGS)
	dh build --after dh_auto_build
	touch $@

install: install-stamp
install-stamp: build
	dh install --before dh_auto_install
	$(MAKE) $(MAKE_FLAGS) prefix=/usr DESTDIR=$(CURDIR)/debian/tmp install
	dh install --after dh_auto_install
	rmdir --ignore-fail-on-non-empty --parents debian/nant
	touch $@

clean: realclean unpatch
realclean: $(DPATCH_STAMPFN)
	dh clean

binary-arch:

binary-indep: build
	dh binary-indep

binary: binary-arch binary-indep

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