[gegl] doc: simplify rules for txt->html



commit ca3f7f51164fc748b9b4a044b21400af9e82701d
Author: Ãyvind KolÃs <pippin gimp org>
Date:   Mon Nov 19 17:58:52 2012 +0100

    doc: simplify rules for txt->html

 configure.ac                               |    2 +-
 docs/Makefile.am                           |   17 ++++-------------
 docs/{index-static.txt.in => index.txt.in} |    0
 3 files changed, 5 insertions(+), 14 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 948a942..f8e019d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1102,7 +1102,7 @@ operations/workshop/external/Makefile
 operations/workshop/generated/Makefile
 tools/Makefile
 docs/Makefile
-docs/index-static.txt
+docs/index.txt
 examples/Makefile
 examples/data/Makefile
 tests/Makefile
diff --git a/docs/Makefile.am b/docs/Makefile.am
index c31bb78..c20ec66 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -66,7 +66,7 @@ EXTRA_DIST = \
 	images/gegl.ico			\
 	images/standard-input.png \
 	images/standard-aux.png \
-	index-static.txt.in
+	index.txt.in
 
 EXAMPLE_FILES = $(wildcard images/examples/*.png)
 EXTRA_DIST += $(EXAMPLE_FILES)
@@ -79,8 +79,8 @@ dist_gtkdocexample_DATA = $(EXAMPLE_FILES)
 
 BUILT_EXTRA_DIST = index.html class-hierarchy.html operations.html
 
-CLEANFILES = README $(HTML_FILES) index-static.txt
-DISTCLEANFILES = index-static.txt
+CLEANFILES = README $(HTML_FILES) index.txt
+DISTCLEANFILES = index.txt
 MAINTAINERCLEANFILES = $(BUILT_EXTRA_DIST)
 
 exclusion_pattern = "load|buffer-source|pixbuf|nop|clone|convert-format|introspect|layer|image-compare|load|open-buffer|svg-load|exr-load|jpg-load|png-load|magick-load|box-blur|stretch-contrast|remap|matting-global|exp-combine|dropshadow|kuwahara|box-percentile|disc-percentile|snn-percentile|line-profile|buffer-cache|warp|mandelbrot|hstack"
@@ -199,7 +199,7 @@ if HAVE_DOT
 endif
 endif
 
-index.html: index-static.txt		\
+%.html: %.txt		\
 	$(top_srcdir)/AUTHORS		\
 	gegl.css			\
 	$(top_srcdir)/NEWS		\
@@ -214,15 +214,6 @@ else
 	@false
 endif
 
-development.html: $(top_srcdir)/docs/development.txt
-if HAVE_ASCIIDOC
-	@echo "HTML: $@"
-	$(ASCIIDOC) --unsafe  -o $@ -a stylesheet=`pwd`/gegl.css -a toc -a quirks! $<
-else
-	@echo "*** asciidoc must be available in order to make dist"
-	@false
-endif
-
 clean-local:
 	rm -rf images/examples; \
 	if test $(srcdir) = .; then :; else 	\
diff --git a/docs/index-static.txt.in b/docs/index.txt.in
similarity index 100%
rename from docs/index-static.txt.in
rename to docs/index.txt.in



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]