| 1 |
#!/usr/bin/make -f |
| 2 |
#DH_VERBOSE = 1 |
| 3 |
|
| 4 |
UG_HTML = "UG8.4/en/output-html/drbd-users-guide-without-css.html" |
| 5 |
|
| 6 |
%: |
| 7 |
dh $@ |
| 8 |
|
| 9 |
override_dh_auto_build: |
| 10 |
$(MAKE) -C UG8.4 html-finalize pdf |
| 11 |
sed -i -e '\#<link rel="stylesheet" href="https://fonts.googleapis.com.*#d' $(UG_HTML) |
| 12 |
sed -i -e 's#href="http.*font-awesome\.min\.css#href="file:///usr/share/fonts-font-awesome/css/font-awesome.min.css"#' $(UG_HTML) |
| 13 |
|
| 14 |
override_dh_auto_clean: |
| 15 |
$(MAKE) -C UG8.4 clean |
| 16 |
|
| 17 |
.PHONY: override_dh_auto_build override_dh_auto_clean |