File: rules

package info (click to toggle)
dex 0.9.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 92 kB
  • sloc: python: 501; makefile: 39
file content (13 lines) | stat: -rwxr-xr-x 376 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

%:
	dh $@ --with python3

override_dh_auto_build:
	$(MAKE) VERSION=$(DEB_VERSION_UPSTREAM)

override_dh_auto_install-indep:
	$(MAKE) install PREFIX=/usr DESTDIR=$(CURDIR)/debian/dex MANPREFIX='$${PREFIX}/share/man'
	rm -f $(CURDIR)/debian/dex/usr/share/doc/dex/LICENSE $(CURDIR)/debian/dex/usr/share/doc/dex/README.rst