File: rules

package info (click to toggle)
emboss-explorer 2.2.0-10
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 352 kB
  • sloc: perl: 1,765; sh: 92; makefile: 12
file content (22 lines) | stat: -rwxr-xr-x 865 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
22
#!/usr/bin/make -f

export DH_VERBOSE=1

%:
	dh $@ --with apache2

override_dh_auto_test:
# disabled because of http://sourceforge.net/tracker/index.php?func=detail&aid=1994385&group_id=124389&atid=699414

override_dh_install:
	dh_install
	$(MAKE) install DESTDIR=$(CURDIR)/debian/emboss-explorer PREFIX=/usr
	# Move ACD.pm to a separate package, that is useful for making
	# manpages from EMBOSS ACD files without being bothered by the
	# dependancy on web servers.
	mv $(CURDIR)/debian/emboss-explorer/usr/share/perl5/EMBOSS/ACD.pm $(CURDIR)/debian/libemboss-acd-perl/usr/share/perl5/EMBOSS/
	mv $(CURDIR)/debian/emboss-explorer/usr/share/man/man3/EMBOSS::ACD.3pm $(CURDIR)/debian/libemboss-acd-perl/usr/share/man/man3/

override_dh_fixperms:
	dh_fixperms
	install -m 755 -o www-data -g www-data -d $(CURDIR)/debian/emboss-explorer/var/lib/emboss-explorer/output