File: rules

package info (click to toggle)
reclass 1.4.1-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 612 kB
  • ctags: 490
  • sloc: python: 2,173; makefile: 180; sh: 4
file content (27 lines) | stat: -rwxr-xr-x 585 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
#!/usr/bin/make -f

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

DH_BUILDSYSTEM_OPTION=--buildsystem=python_distutils
DH_OPTIONS=--with python2,sphinxdoc $(DH_BUILDSYSTEM_OPTION)

%:
	dh $@ $(DH_OPTIONS)

override_dh_sphinxdoc:
	dh_sphinxdoc || :

override_dh_auto_build:
	PYTHONPATH=.. $(MAKE) -C doc man html

override_dh_install:
	dh_install
	mv debian/tmp/usr/bin/reclass-* debian/reclass/usr/share/reclass

override_dh_installchangelogs:
	dh_installchangelogs doc/source/changelog.rst

override_dh_clean:
	dh_clean -O$(DH_BUILDSYSTEM_OPTION)
	$(MAKE) docsclean