File: rules

package info (click to toggle)
fastdnaml 1.2.2-6
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 576 kB
  • ctags: 384
  • sloc: ansic: 3,927; sh: 549; makefile: 22
file content (21 lines) | stat: -rwxr-xr-x 830 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
#!/usr/bin/make -f
# debian/rules for fastDNAml using cdbs
# Andreas Tille <tille@debian.org>, GPL

DEB_AUTO_UPDATE_DEBIAN_CONTROL := yes

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

# dh_clean expects a Makefile which was just removed by redoing the patches ...
# This hack circumvents the problem
clean::
	rm -fr source/fastDNAml

install/fastdnaml::
	cp -a docs/fastDNAml_doc_1.2.txt `pwd`/debian/`dh_listpackages`/usr/share/`dh_listpackages`/fastdnaml_help
	# the scripts have to be executable thus mentioning these in debian/install is not enough
	cp -a scripts/*                  `pwd`/debian/`dh_listpackages`/usr/lib/`dh_listpackages`/bin
	chmod 755 `pwd`/debian/`dh_listpackages`/usr/lib/`dh_listpackages`/bin/*
	dh_desktop