File: rules

package info (click to toggle)
probalign 1.4-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 348 kB
  • ctags: 413
  • sloc: cpp: 4,964; makefile: 27
file content (21 lines) | stat: -rwxr-xr-x 659 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 probalign
# Andreas Tille <tille@debian.org>
# LGPL-3

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(\([0-9]\+\):\)\?\(.*\)-.*/\3/p')
PKG := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')

%:
	dh $@

override_dh_auto_install:
	help2man --name="Align sequences in MFAFILE(s) and print result to standard output" \
	         --no-discard-stderr \
	         --version-string=$(VERSION) \
	         --help-option=" " \
	         --no-info \
                 $(CURDIR)/probalign > $(CURDIR)/debian/$(PKG)/usr/share/man/man1/probalign.1