File: rules

package info (click to toggle)
git-crecord 20190217~git-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 268 kB
  • sloc: python: 1,771; makefile: 8
file content (13 lines) | stat: -rwxr-xr-x 329 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

PACKAGE := $(shell dpkg-parsechangelog -S Source)

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

override_dh_auto_install:
	dh_auto_install
	mv debian/$(PACKAGE)/usr/bin/git-crecord debian/$(PACKAGE)/usr/lib/git-core/
	rm debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)/COPYING

.PHONY: override_dh_auto_install