debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | %: |
| 4 | dh $@ --buildsystem=pybuild |
| 5 | |
| 6 | execute_after_dh_auto_build: |
| 7 | ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS))) |
| 8 | ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES))) |
| 9 | $(MAKE) -C docs man |
| 10 | endif |
| 11 | endif |
| 12 | |
| 13 | execute_after_dh_install: |
| 14 | ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS))) |
| 15 | ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES))) |
| 16 | dh_install docs/api examples usr/share/doc/python3-dasbus/ |
| 17 | endif |
| 18 | endif |