@@ -323,7 +323,6 @@ AC_CONFIG_FILES([Makefile
doc/implementers-guide/Makefile
doc/users-guide/Makefile
doc/process-guide/Makefile
- doc/images/Makefile
doc/application-api-guide/Makefile
example/Makefile
example/classifier/Makefile
@@ -1,5 +1,5 @@
SUBDIRS = application-api-guide
if user_guide
-SUBDIRS += images implementers-guide users-guide process-guide
+SUBDIRS += implementers-guide users-guide process-guide
endif
@@ -1,2 +1,6 @@
-.adoc.html:
- asciidoc -a data-uri -b html5 -a icons -a toc2 -a max-width=55em --out-file=$@ $<
+VPATH=$(top_builddir)/doc/images
+
+.msc.svg:
+ mscgen -T svg -i $^ -o $@
+
+ASCIIDOC_FLAGS =-a data-uri -b html5 -a icons -a toc2 -a max-width=55em
deleted file mode 100644
@@ -1,16 +0,0 @@
-.msc.svg:
- mscgen -T svg -i $^ -o $@
-
-MSG_SRCS = resource_management.msc
-MSG_TARGETS = $(MSG_SRCS:msc=svg)
-
-EXTRA_DIST = $(MSG_SRCS)
-
-if HAVE_MSCGEN
-TARGETS = $(MSG_TARGETS)
-endif
-
-all-local: $(TARGETS)
-
-clean-local:
- rm -f $(MSG_TARGETS)
@@ -1,10 +1,12 @@
include ../Makefile.inc
+SRC = $(top_srcdir)/doc/implementers-guide/implementers-guide.adoc
TARGET = implementers-guide.html
-EXTRA_DIST = implementers-guide.adoc
+EXTRA_DIST = $(SRC)
-all-local: $(TARGET)
+all-local: $(SRC)
+ asciidoc $(ASCIIDOC_FLAGS) --out-file=$(TARGET) $(SRC)
clean-local:
- rm -f $(TARGET)
+ rm -f $(builddir)/$(TARGET)
@@ -1,12 +1,19 @@
include ../Makefile.inc
-TARGET = bylaws-guide.html \
- release-guide.html
+EXTRA_DIST = $(top_srcdir)/doc/process-guide/bylaws-guide.adoc \
+ $(top_srcdir)/doc/process-guide/release-guide.adoc
-EXTRA_DIST = bylaws-guide.adoc \
- release-guide.adoc
-
-all-local: $(TARGET)
+all-local: bylaws-guide.html \
+ release-guide.html
clean-local:
- rm -f $(TARGET)
+ rm -f $(builddir)/bylaws-guide.html
+ rm -f $(builddir)/release-guide.html
+
+release-guide.html: $(top_srcdir)/doc/process-guide/release-guide.adoc \
+ $(top_srcdir)/doc/images/simple_release_git.svg \
+ $(top_srcdir)/doc/images/release_git.svg
+ asciidoc $(ASCIIDOC_FLAGS) --out-file=$@ $<
+
+bylaws-guide.html: $(top_srcdir)/doc/process-guide/bylaws-guide.adoc
+ asciidoc $(ASCIIDOC_FLAGS) --out-file=$@ $<
@@ -1,10 +1,26 @@
include ../Makefile.inc
+SRC = $(top_srcdir)/doc/users-guide/users-guide.adoc
TARGET = users-guide.html
+IMAGES = $(top_srcdir)/doc/images/overview.svg \
+ $(top_srcdir)/doc/images/odp_components.svg \
+ $(top_srcdir)/doc/images/odp_rx_processing.svg \
+ $(top_srcdir)/doc/images/odp_scheduling.svg \
+ $(top_srcdir)/doc/images/odp_traffic_manager.svg \
+ $(top_srcdir)/doc/images/parallel_queue.svg \
+ $(top_srcdir)/doc/images/atomic_queue.svg \
+ $(top_srcdir)/doc/images/ordered_queue.svg
-EXTRA_DIST = users-guide.adoc
+if HAVE_MSCGEN
+IMAGES += $(top_srcdir)/doc/images/resource_management.svg
+endif
-all-local: $(TARGET)
+EXTRA_DIST = $(SRC) $(IMAGES)
+
+all-local: $(SRC)
+ asciidoc $(ASCIIDOC_FLAGS) --out-file=$(TARGET) $(SRC)
clean-local:
- rm -f $(TARGET)
+ rm -f $(builddir)/$(TARGET)
+
+$(SRC): $(IMAGES)
Signed-off-by: Mike Holmes <mike.holmes@linaro.org> Reviewed-and-tested-by: Bill Fischofer <bill.fischofer@linaro.org> --- configure.ac | 1 - doc/Makefile.am | 2 +- doc/Makefile.inc | 8 ++++++-- doc/images/Makefile.am | 16 ---------------- doc/implementers-guide/Makefile.am | 8 +++++--- doc/process-guide/Makefile.am | 21 ++++++++++++++------- doc/users-guide/Makefile.am | 22 +++++++++++++++++++--- 7 files changed, 45 insertions(+), 33 deletions(-) delete mode 100644 doc/images/Makefile.am