File: rules

package info (click to toggle)
sigma-align 1.1.1-3
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 620 kB
  • ctags: 99
  • sloc: sh: 3,403; ansic: 1,344; xml: 221; makefile: 56
file content (59 lines) | stat: -rwxr-xr-x 1,343 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#!/usr/bin/make -f
# -*- makefile -*-
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Modifications by Charles Plessy during the years 2006-2007
# are hereby released as if they were in the public domain.

configure: configure-stamp
configure-stamp:
	./configure --prefix=$(CURDIR)/debian/sigma-align/usr
	touch $@

build: configure src/sigma

src/sigma: configure
	$(MAKE)

# To use the following rule, you need to install the xsltproc, docbook-xml and docbook-xsl packages.
manpage:
	xsltproc --nonet \
		--param man.charmap.use.subset "0" \
		--param make.year.ranges "1" \
		--param make.single.year.ranges "1" \
		sigma.1.xml

clean: configure-stamp
	dh_testdir
	dh_testroot
	[ -f ! Makefile ] || $(MAKE) distclean
	dh_clean configure-stamp

install: build
	dh_testdir
	dh_testroot
	dh_clean -k 
	dh_installdirs /usr/bin
	$(MAKE) install

binary-indep:
binary-arch: install
	dh_testdir
	dh_testroot
	dh_installchangelogs ChangeLog
	dh_installdocs README NOTES
	dh_installexamples Background
	dh_installman sigma.1
	dh_link
	dh_strip
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary: binary-indep binary-arch

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