File: rules

package info (click to toggle)
gdome2 0.8.1%2Bdebian-9
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 4,624 kB
  • sloc: ansic: 23,268; sh: 6,687; xml: 476; makefile: 422
file content (19 lines) | stat: -rwxr-xr-x 416 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DEB_BUILD_OPTIONS += nocheck

html_dir := $(CURDIR)/debian/tmp/usr/share/doc/libgdome2-dev

%:
	dh $@

execute_before_dh_clean:
	$(RM) gdomeConf.sh

override_dh_auto_configure:
	dh_auto_configure -- --with-html-dir=$(html_dir)

execute_before_dh_installdocs:
	mv $(html_dir)/gdome2-* $(html_dir)/html
	ln -sf book1.html $(html_dir)/html/index.html