File: rules

package info (click to toggle)
dasbus 1.7-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 880 kB
  • sloc: python: 7,550; makefile: 101; sh: 4
file content (18 lines) | stat: -rwxr-xr-x 412 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

%:
	dh $@ --buildsystem=pybuild

execute_after_dh_auto_build:
ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
	$(MAKE) -C docs man
endif
endif

execute_after_dh_install:
ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
	dh_install docs/api examples usr/share/doc/python3-dasbus/
endif
endif