File: rules

package info (click to toggle)
azure-data-lake-store-python 0.0.51-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 31,760 kB
  • sloc: python: 4,556; makefile: 193
file content (18 lines) | stat: -rwxr-xr-x 454 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export PYBUILD_AFTER_CLEAN=rm -rf azure_datalake_store.egg-info docs/build docs/api

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

override_dh_auto_build:
	dh_auto_build
ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
	sphinx-apidoc -f -e -o docs/api azure/datalake/store
	$(MAKE) -C docs man
endif
endif

# tests will attempt network connections, skip them
override_dh_auto_test: