File: rules

package info (click to toggle)
hdmf 3.14.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 19,380 kB
  • sloc: python: 34,738; makefile: 303; sh: 35
file content (27 lines) | stat: -rwxr-xr-x 898 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/make -f

# This file was automatically generated by stdeb 0.8.5 at
# Thu, 08 Aug 2019 17:19:27 -0400
export LC_ALL=C.UTF-8
export PYBUILD_NAME=hdmf
%:
	dh $@ --buildsystem=pybuild

PKG = python3-hdmf
PKG_ROOT = $(CURDIR)/debian/$(PKG)
DIST_DIR = $(PKG_ROOT)/usr/lib/python3/dist-packages
DOC_DIR = $(PKG_ROOT)/usr/share/doc/$(PKG)

execute_after_dh_installdocs:
	rm -vf $(DOC_DIR)/hdmf-common-schema/license.txt

execute_after_dh_python3:
	# These files holds documentation handled by d/docs.
	rm -rvf $(DIST_DIR)/hdmf/common/hdmf-common-schema/docs
	rm -vf $(DIST_DIR)/hdmf/common/hdmf-common-schema/Legal.txt
	rm -vf $(DIST_DIR)/hdmf/common/hdmf-common-schema/README.md
	rm -vf $(DIST_DIR)/hdmf/common/hdmf-common-schema/license.txt
	rm -vf $(DIST_DIR)/hdmf/common/hdmf-common-schema/requirements-doc.txt

execute_after_dh_fixperms:
	chmod -x $(DIST_DIR)/hdmf/testing/validate_spec.py