File: rules

package info (click to toggle)
fastdnaml 1.2.2-14
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 672 kB
  • sloc: ansic: 3,927; sh: 571; makefile: 46
file content (24 lines) | stat: -rwxr-xr-x 769 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f
# debian/rules for fastDNAml using dh
# Andreas Tille <tille@debian.org>, GPL

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

# dh_clean expects a Makefile which was just removed by redoing the patches ...
# This hack circumvents the problem
override_dh_clean:
	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/*