File: rules

package info (click to toggle)
smartleia 1.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 220 kB
  • sloc: python: 1,044; makefile: 11; sh: 1
file content (21 lines) | stat: -rwxr-xr-x 765 bytes parent folder | download
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

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

# here, the python library is built using autoconf/automake build system. Thus, autoreconf buildsystem is forced.
%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_python3:
	dh_python3 --shebang=/usr/bin/python3

# this target is to be executed out of automatic compilation steps. The output, vicc.1
# has to be keeped in the git repository
genman:
	go-md2man -in debian/smartleia.1.md -out debian/smartleia.1
	echo "*** This target should not be executed automatically ***"
	echo "*** as a consequence, it always return an error      ***"
	echo "*** be sure to update the man page when the markdown ***"
	echo "*** file is updated                                  ***"
	exit 1