File lire-docdir.patch of Package lire
Index: Makefile.am
===================================================================
--- Makefile.am.orig
+++ Makefile.am
@@ -26,7 +26,7 @@ VERSION = @VERSION@
doc/%:
cd doc && $(MAKE) $*
-docdir = $(datadir)/doc/$(PACKAGE)
+docdir = @docdir@
doc_DATA = README
SUBDIRS = all dns dnszone database dialup email firewall ftp \
Index: doc/Makefile.am
===================================================================
--- doc/Makefile.am.orig
+++ doc/Makefile.am
@@ -34,7 +34,7 @@ html_doc = user-manual/index.html \
html_doc_dirs = user-manual dev-manual
-docdir = $(datadir)/doc/$(PACKAGE)
+docdir = @docdir@
manuals = user-manual.pdf user-manual.txt \
dev-manual.pdf dev-manual.txt
@@ -92,7 +92,7 @@ EXTRA_DIST = \
MAINTAINERCLEANFILES = $(manuals)
-$(dtd_infos)/%:
+$(dtd_infos):
cd doc && $(MAKE) $*
$(html_doc_dirs):
Index: Makefile.in
===================================================================
--- Makefile.in.orig
+++ Makefile.in
@@ -198,7 +198,7 @@ build_alias = @build_alias@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
-docdir = $(datadir)/doc/$(PACKAGE)
+docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
host_alias = @host_alias@
@@ -225,14 +225,20 @@ target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
-doc_DATA = README
+doc_DATA = \
+ AUTHORS \
+ ChangeLog \
+ COPYING \
+ NEWS \
+ README \
+ README.lire-client \
+ README.merging-log-files \
+ THANKS
SUBDIRS = all dns dnszone database dialup email firewall ftp \
msgstore print proxy spamfilter syslog www doc extras
EXTRA_DIST = \
VERSION \
- README.lire-client \
- README.merging-log-files \
$(srcdir)/include/*.mk
DISTCLEANFILES = $(PACKAGE)-$(VERSION).tar.gz
Index: doc/Makefile.in
===================================================================
--- doc/Makefile.in.orig
+++ doc/Makefile.in
@@ -183,7 +183,7 @@ build_alias = @build_alias@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
-docdir = $(datadir)/doc/$(PACKAGE)
+docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
host_alias = @host_alias@
@@ -782,7 +782,7 @@ check-xml: $(XML_FILES)
done; \
fi
-$(dtd_infos)/%:
+$(dtd_infos):
cd doc && $(MAKE) $*
$(html_doc_dirs):
Index: doc/examples/Makefile.am
===================================================================
--- doc/examples/Makefile.am.orig
+++ doc/examples/Makefile.am
@@ -18,7 +18,7 @@
## http://www.gnu.org/copyleft/gpl.html or write to the Free Software
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
-docdir = $(datadir)/doc/$(PACKAGE)/examples
+docdir = @docdir@/examples
doc_DATA = myconverter_cfg_spec.xml myconverter_init \
MyConverter.pm myschema.xml \
Index: doc/examples/Makefile.in
===================================================================
--- doc/examples/Makefile.in.orig
+++ doc/examples/Makefile.in
@@ -142,7 +142,7 @@ build_alias = @build_alias@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
-docdir = $(datadir)/doc/$(PACKAGE)/examples
+docdir = @docdir@/examples
dvidir = @dvidir@
exec_prefix = @exec_prefix@
host_alias = @host_alias@