File: rules

package info (click to toggle)
seqdiag 3.0.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 400 kB
  • sloc: python: 1,903; makefile: 11
file content (20 lines) | stat: -rwxr-xr-x 635 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
#DEB_BUILD_OPTIONS=1

export PYBUILD_NAME=seqdiag

%:
	dh $@ --buildsystem=pybuild

override_dh_python3:
	dh_python3
	mv -f $(CURDIR)/debian/python3-seqdiag/usr/bin/seqdiag $(CURDIR)/debian/python3-seqdiag/usr/bin/seqdiag3

convert_manpage_seqdiag3:
	sed 's/^seqdiag \\/seqdiag3 \\/' $(CURDIR)/seqdiag.1 > $(CURDIR)/debian/seqdiag3.1
	sed -i 's/.B seqdiag/.B seqdiag3/g' $(CURDIR)/debian/seqdiag3.1
	sed -i 's/.TH SEQDIAG /.TH SEQDIAG3 /' $(CURDIR)/debian/seqdiag3.1
	sed -i 's/^\\fBseqdiag/\\fBseqdiag3/' $(CURDIR)/debian/seqdiag3.1