File: rules

package info (click to toggle)
gpredict 2.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,280 kB
  • sloc: ansic: 40,611; makefile: 486; python: 145; sh: 85; xml: 31
file content (17 lines) | stat: -rwxr-xr-x 465 bytes parent folder | download | duplicates (2)
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 $@