projects
/
yazpp-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove make dependency of common/tkl.xsl
[yazpp-moved-to-github.git]
/
doc
/
Makefile.am
diff --git
a/doc/Makefile.am
b/doc/Makefile.am
index
4998205
..
db7a4f2
100644
(file)
--- a/
doc/Makefile.am
+++ b/
doc/Makefile.am
@@
-1,4
+1,4
@@
-## $Id: Makefile.am,v 1.21 2006-06-02 08:43:12 adam Exp $
+## $Id: Makefile.am,v 1.25 2006-11-27 11:34:52 adam Exp $
docdir=$(datadir)/doc/@PACKAGE@
SUBDIRS = common
docdir=$(datadir)/doc/@PACKAGE@
SUBDIRS = common
@@
-17,20
+17,7
@@
MANFILES = yazpp-config.8
REFFILES = yazpp-config-man.xml
REFFILES = yazpp-config-man.xml
-HTMLFILES = \
- api.html \
- implementations.html \
- index.html \
- installation.html \
- introduction.html \
- license.html \
- windows.html \
- zoom-connection.html \
- zoom-exception.html \
- zoom-query.html \
- zoom-record.html \
- zoom-resultset.html \
- zoom.html
+HTMLFILES = index.html
doc_DATA = $(HTMLFILES)
doc_DATA = $(HTMLFILES)
@@
-40,9
+27,10
@@
EXTRA_DIST = $(XMLFILES) $(doc_DATA) $(man_MANS) $(REFFILES) \
entities.ent local.ent.in
$(HTMLFILES): $(XMLFILES)
entities.ent local.ent.in
$(HTMLFILES): $(XMLFILES)
+ rm -f *.html
$(HTML_COMPILE) $(TOP)
$(HTML_COMPILE) $(TOP)
-index.tkl: $(XMLFILES) common/tkl.xsl
+index.tkl: $(XMLFILES)
$(TKL_COMPILE) $(TOP)
yazpp-config.8: yazpp-config-man.xml
$(TKL_COMPILE) $(TOP)
yazpp-config.8: yazpp-config-man.xml
@@
-60,17
+48,16
@@
clean-data-hook:
rm -f [0-9]* *.bak
dist-hook:
rm -f [0-9]* *.bak
dist-hook:
- for f in *.html; do \
- found=0; \
- b=`basename $$f`; \
- for h in $(HTMLFILES); do \
- if test "$$h" = "$$b"; then \
- found=1; \
- fi \
- done; \
- if test "$$found" = "0"; then \
- echo "$$h not found in HTMLFILES"; \
- exit 1; \
- fi \
+ if test -f index.html; then d=.; else d="$(srcdir)"; fi; \
+ for p in $$d/*.html; do \
+ cp $$p $(distdir); \
done
done
+install-data-hook:
+ if test -f index.html; then d=.; else d="$(srcdir)"; fi; \
+ for p in $$d/*.html; do \
+ $(docDATA_INSTALL) $$p $(DESTDIR)/$(docdir); \
+ done
+
+uninstall-hook:
+ rm -r $(DESTDIR)/$(docdir)