File: rules

package info (click to toggle)
libserial 1.0.0-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,068 kB
  • sloc: cpp: 5,975; makefile: 281; python: 163; sh: 22
file content (18 lines) | stat: -rwxr-xr-x 466 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_clean:
	dh_auto_clean
	rm -rf debian/doctrees
	rm -rf docs/build/html docs/build/man

override_dh_auto_build-indep:
	PYTHONPATH=. sphinx-build -bman docs/user_manual/ -d debian/doctrees docs/build/man
	PYTHONPATH=. sphinx-build -bhtml docs/user_manual/ -d debian/doctrees docs/build/html

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	if [ -f src/unit_tests ]; then ./src/unit_tests; fi
endif