File: rules

package info (click to toggle)
pylama 8.4.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 328 kB
  • sloc: python: 1,494; makefile: 11; sh: 1
file content (18 lines) | stat: -rwxr-xr-x 465 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
#export DH_VERBOSE = 1

export LC_ALL=C.UTF-8
export PYBUILD_NAME = pylama

%:
	dh $@ --buildsystem=pybuild

override_dh_auto_configure:
	cat debian/*manpages | sed 's/$$/.txt/p' | xargs -n 1 a2x --doctype manpage --format manpage
	dh_auto_configure

execute_after_dh_install:
	rm -rf $(CURDIR)/debian/python-pylama/usr/bin

	mkdir -p $(CURDIR)/debian/pylama/usr/bin
	mv $(CURDIR)/debian/python3-pylama/usr/bin/* $(CURDIR)/debian/pylama/usr/bin/