File: rules

package info (click to toggle)
nordugrid-arc-doc 2.0.21-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 110,956 kB
  • sloc: xml: 673; sh: 648; makefile: 180; perl: 71
file content (64 lines) | stat: -rwxr-xr-x 1,049 bytes parent folder | download | duplicates (2)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#!/usr/bin/make -f

configure: configure-stamp
	:

configure-stamp:
	dh_testdir
	./configure --prefix=/usr \
		    --libexecdir='$${prefix}/lib' \
		    --sysconfdir=/etc \
		    --localstatedir=/var \
		    --mandir='$${datadir}/man' \
		    --infodir='$${datadir}/info' \
		    --with-docdir='$${datadir}/doc/nordugrid-arc-doc'
	touch $@

build: build-indep build-arch
	:

build-indep: build-stamp
	:

build-arch:
#	:

build-stamp: configure-stamp
	$(MAKE)
	touch $@

clean:
	dh_testdir
	dh_testroot

	if [ -r Makefile ] ; then $(MAKE) distclean ; fi

	dh_clean configure-stamp build-stamp

install: build-stamp
	dh_testdir
	dh_testroot

	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install

binary-indep: install
	dh_testdir
	dh_testroot
	dh_installchangelogs
	dh_installdocs
	dh_install
	dh_missing --fail-missing
	dh_compress -X .pdf
	dh_fixperms
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary-arch:
#	:

binary: binary-arch binary-indep
	:

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