debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 | DEB_BUILD_OPTIONS += nocheck |
| 5 | |
| 6 | html_dir := $(CURDIR)/debian/tmp/usr/share/doc/libgdome2-dev |
| 7 | |
| 8 | %: |
| 9 | dh $@ |
| 10 | |
| 11 | execute_before_dh_clean: |
| 12 | $(RM) gdomeConf.sh |
| 13 | |
| 14 | override_dh_auto_configure: |
| 15 | dh_auto_configure -- --with-html-dir=$(html_dir) |
| 16 | |
| 17 | execute_before_dh_installdocs: |
| 18 | mv $(html_dir)/gdome2-* $(html_dir)/html |
| 19 | ln -sf book1.html $(html_dir)/html/index.html |