File: rules

package info (click to toggle)
libserial 1.0.0%2Bgit20250423-6
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,248 kB
  • sloc: cpp: 6,140; makefile: 278; python: 163; sh: 29
file content (15 lines) | stat: -rwxr-xr-x 414 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

%:
	dh $@ --buildsystem=cmake

execute_before_dh_auto_clean:
	rm -rf INSTALL docs/doxygen/html docs/build/man debian/doctrees

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

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