Code sync
[external/hplip.git] / debian / patches / 87_move_documentation.dpatch
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 87_move_documentation.dpatch by  <till.kamppeter@gmail.com>
3 ##
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: place html documentation under hplip-doc/HTML/
6
7 @DPATCH@
8 diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' hplip-3.11.1~/Makefile.am hplip-3.11.1/Makefile.am
9 --- hplip-3.11.1~/Makefile.am   2011-01-19 06:18:26.000000000 +0100
10 +++ hplip-3.11.1/Makefile.am    2011-01-23 23:57:36.905046314 +0100
11 @@ -23,11 +23,11 @@
12  \r
13  if DOC_BUILD\r
14  wwwsrc = doc\r
15 -www0dir = $(docdir)\r
16 +www0dir = $(hpdocdir)/HTML\r
17  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\r
18 -www3dir = $(docdir)/styles\r
19 +www3dir = $(www0dir)/styles\r
20  dist_www3_DATA = $(wwwsrc)/styles/*\r
21 -www4dir = $(docdir)/images\r
22 +www4dir = $(www0dir)/images\r
23  dist_www4_DATA = $(wwwsrc)/images/*\r
24  endif\r
25  \r