File: rules

package info (click to toggle)
podman-compose 1.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,996 kB
  • sloc: python: 10,946; sh: 107; javascript: 48; makefile: 13
file content (30 lines) | stat: -rwxr-xr-x 1,146 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
22
23
24
25
26
27
28
29
30
#!/usr/bin/make -f
#export DH_VERBOSE = 1

export PYBUILD_NAME=podman-compose

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

override_dh_auto_test:
	# There are only integration tests which need internet conenction. Skip.

override_dh_installexamples:
	# Installing the nodeproj example directory causes lintian to throw a few
	# errors and warnings. Namely, package-contains-eslint-config-file due to
	# examples/nodeproj/.eslintrc.json, privacy-breach-uses-embedded-file due to
	# examples/nodeproj/public/index.html (here lintian suggests using
	# libjs-normalize instead), and package-contains-vcs-control-file due to
	# examples/nodeproj/.gitignore and examples/nodeproj/.home/.gitignore. While
	# we could ignore the false positives and/or remove the offending files,
	# let's just refrain from shipping this particular example and avoid
	# depending (or recommending/suggesting) on libjs-normalize.
	dh_installexamples -X nodeproj

execute_before_dh_installdocs:
	test ! -f docs/changelog
	for CHANGELOG in $$(ls -r docs/Changelog-*); do \
		cat $$CHANGELOG >> docs/changelog; \
		echo >> docs/changelog; \
	done
	rm docs/Changelog-*.md