File: rules

package info (click to toggle)
jube 2.7.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,640 kB
  • sloc: python: 8,415; xml: 838; sh: 180; makefile: 14
file content (28 lines) | stat: -rwxr-xr-x 652 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
22
23
24
25
26
27
28
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1

export PYBUILD_NAME=jube

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

override_dh_compress:
	find debian/jube -name \*.xml | xargs -r chmod a-x
	dh_compress -X/platform/

execute_before_dh_installdeb:
	hardlink -v -t debian/jube/usr/share/doc/jube

execute_after_dh_auto_clean:
	$(RM) -r *.egg-info/


# only executed manually
debian/jube.1:
	PYTHONPATH=. help2man --no-info --no-discard-stderr bin/jube > $@

# only executed manually
debian/jube-autorun.1:
	help2man --no-info bin/jube-autorun > $@