debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # redirect directories soffice wants to write to |
| 4 | export HOME = $(CURDIR)/debian/home |
| 5 | export XDG_RUNTIME_DIR = $(CURDIR)/debian/home |
| 6 | |
| 7 | # for simplicity, compile normally even during indep builds so we get the |
| 8 | # documentation files, and build the pdf manual afterwards |
| 9 | |
| 10 | execute_after_dh_auto_build-indep: |
| 11 | mkdir -p $(HOME) |
| 12 | cd doc/um && soffice --writer --headless --convert-to pdf gpredict-user-manual.odt |
| 13 | |
| 14 | override_dh_auto_test-indep: |
| 15 | |
| 16 | %: |
| 17 | dh $@ |