File: rules

package info (click to toggle)
mummer 3.20-3
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 5,156 kB
  • ctags: 2,042
  • sloc: cpp: 13,011; ansic: 7,530; perl: 4,140; makefile: 360; sh: 48; csh: 44; awk: 17
file content (39 lines) | stat: -rwxr-xr-x 1,034 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
#!/usr/bin/make -f
# debian/rules for mummer using cdbs
# Andreas Tille <tille@debian.org>, GPL

include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/cdbs/1/rules/debhelper.mk  
include /usr/share/cdbs/1/class/makefile.mk  

# prevent compression of PDF docs
DEB_COMPRESS_EXCLUDE := .pdf

## copied from polipo package to avoid conflict whan upstream changes CFLAGS inside Makefile
DEB_MAKE_INVOKE = $(DEB_MAKE_ENVVARS) make \
	             INSTALL_AUX_BIN_DIR=/usr/lib/mummer/aux_bin \
		     INSTALL_BIN_DIR=/usr/bin \
		     INSTALL_SCRIPT_DIR=/usr/share/perl5 \
		     -C $(DEB_BUILDDIR)

configure::
	(cd src/tigr && ln -s ../../aux_bin . )
	make check

build/mummer-doc::
	cd doc; make
#	$(MAKE) DESTDIR=$(CURDIR)/debian/mummer

clean::
	rm -f src/tigr/aux_bin
	rm -rf bin

# post installation
install/mummer::
	# install desktop file
	# dh_desktop 
	# prevent name space pollution because libgd-tools contains /usr/bin/annotate
	mv bin/annotate bin/mummer-annotate

get-orig-source:
	sh debian/get-orig-source