hplip/87_move_documentation.dpatch

25 lines
1.1 KiB
Text
Raw Normal View History

#! /bin/sh /usr/share/dpatch/dpatch-run
## 87_move_documentation.dpatch by <till.kamppeter@gmail.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: place html documentation under hplip-doc/HTML/
@DPATCH@
--- a/Makefile.am
+++ b/Makefile.am
@@ -29,11 +29,11 @@
2012-08-22 11:04:03 +04:00
if DOC_BUILD
wwwsrc = doc
-www0dir = $(docdir)
+www0dir = $(hpdocdir)/HTML
dist_www0_DATA = $(wwwsrc)/index.html $(wwwsrc)/commandline.html $(wwwsrc)/copying.html $(wwwsrc)/devicemanager.html $(wwwsrc)/faxtrouble.html $(wwwsrc)/gettinghelp.html $(wwwsrc)/hpscan.html $(wwwsrc)/mainttask.html $(wwwsrc)/plugins.html $(wwwsrc)/print.html $(wwwsrc)/printing.html $(wwwsrc)/printoptions.html $(wwwsrc)/printtroubleshooting.html $(wwwsrc)/scanning.html $(wwwsrc)/scantrouble.html $(wwwsrc)/sendfax.html $(wwwsrc)/setup.html $(wwwsrc)/systray.html $(wwwsrc)/troubleshooting.html $(wwwsrc)/uninstalling.html $(wwwsrc)/upgrading.html
-www3dir = $(docdir)/styles
+www3dir = $(www0dir)/styles
dist_www3_DATA = $(wwwsrc)/styles/*
-www4dir = $(docdir)/images
+www4dir = $(www0dir)/images
dist_www4_DATA = $(wwwsrc)/images/*
endif