File: rules

package info (click to toggle)
authprogs 0.6.0%2Bgit7afaa40-2
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 196 kB
  • sloc: python: 965; makefile: 15; sh: 6
file content (20 lines) | stat: -rwxr-xr-x 522 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
export DH_VERBOSE=1

export PYBUILD_NAME=authprogs
%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_auto_clean:
	rm -rf doc/authprogs.html
	dh_auto_clean

override_dh_auto_install:
	touch doc/authprogs.html
	dh_auto_install

override_dh_installdocs:
	dh_installdocs
	rm -vf $(CURDIR)/debian/$(PYBUILD_NAME)/usr/share/doc/authprogs/INSTALL
	rm -vf $(CURDIR)/debian/$(PYBUILD_NAME)/usr/share/doc/authprogs/authprogs.html
	rm -vf $(CURDIR)/debian/$(PYBUILD_NAME)/usr/share/doc/authprogs/COPYING