File: rules

package info (click to toggle)
cppman 0.4.8-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,168 kB
  • sloc: python: 1,197; sh: 44; makefile: 9
file content (20 lines) | stat: -rwxr-xr-x 523 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

%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_fixperms:
	dh_fixperms
	# The executable bit is cleaned during build process, so we need set
	# them again.
	find debian/cppman -name *.sh -print0 | xargs --null chmod a+x

override_dh_auto_install:
	dh_auto_install
	# Fix extra-license-file and changelog
	-rm -f debian/cppman/usr/share/doc/cppman/COPYING
	-rm -f debian/cppman/usr/share/doc/cppman/ChangeLog