File: rules

package info (click to toggle)
git-crecord 20230226.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 372 kB
  • sloc: python: 2,325; makefile: 8
file content (13 lines) | stat: -rwxr-xr-x 308 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 $@ --buildsystem=pybuild

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

.PHONY: override_dh_auto_install