File: rules

package info (click to toggle)
gpredict 2.3-115-g0f3beb6-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 12,252 kB
  • sloc: ansic: 40,123; makefile: 479; python: 143; sh: 85
file content (17 lines) | stat: -rwxr-xr-x 465 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

# redirect directories soffice wants to write to
export HOME = $(CURDIR)/debian/home
export XDG_RUNTIME_DIR = $(CURDIR)/debian/home

# for simplicity, compile normally even during indep builds so we get the
# documentation files, and build the pdf manual afterwards

execute_after_dh_auto_build-indep:
	mkdir -p $(HOME)
	cd doc/um && soffice --writer --headless --convert-to pdf gpredict-user-manual.odt

override_dh_auto_test-indep:

%:
	dh $@