File: rules

package info (click to toggle)
fastdnaml 1.2.2-11
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 640 kB
  • ctags: 383
  • sloc: ansic: 3,927; sh: 571; makefile: 43
file content (21 lines) | stat: -rwxr-xr-x 712 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
#!/usr/bin/make -f
# debian/rules for fastDNAml using dh
# Andreas Tille <tille@debian.org>, GPL

%:
	dh $@

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

override_dh_auto_install:
	# do nothing

override_dh_install:
	dh_install
	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/*