File: rules

package info (click to toggle)
xgridfit 2.3-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,000 kB
  • sloc: python: 1,262; xml: 466; sh: 283; makefile: 116; sed: 45
file content (17 lines) | stat: -rwxr-xr-x 492 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
#export DH_VERBOSE=1

%:
	dh $@ --with python3

override_dh_auto_build:
	dh_auto_build --no-act
	dh_auto_build --buildsystem=pybuild --sourcedirectory=python

override_dh_auto_install:
	dh_auto_install
	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp/ install-docs
	dh_auto_install --buildsystem=pybuild --sourcedirectory=python
# Packages under usr/local/lib/python* are installed by upstream's
# Makefile, but we don't want them.
	rm -rfv $(CURDIR)/debian/tmp/usr/local/lib/python*