@@ -9,7 +9,7 @@ SUBDIRS += implementers-guide users-guide process-guide
endif
EXTRA_DIST = \
- $(top_srcdir)/doc/doxygenlayout.xml \
- $(top_srcdir)/doc/odpdoxygen.css \
- $(top_srcdir)/doc/glossary.adoc \
- $(top_srcdir)/doc/Doxyfile_common
+ doxygenlayout.xml \
+ odpdoxygen.css \
+ glossary.adoc \
+ Doxyfile_common
@@ -1,6 +1,8 @@
IMAGES_DIR = $(top_srcdir)/doc/images
-VPATH=$(top_builddir)/doc/images
+VPATH = $(srcdir)
+
+SUFFIXES = .svg .msc .gv .html .adoc
.msc.svg:
mscgen -T svg -i $^ -o $@
@@ -1,6 +1,6 @@
include ../Makefile.inc
-SRC = $(top_srcdir)/doc/implementers-guide/implementers-guide.adoc
+SRC = implementers-guide.adoc
TARGET = implementers-guide.html
EXTRA_DIST = $(SRC)
@@ -7,9 +7,9 @@ IMAGES = $(IMAGES_DIR)/aboutODP1.svg \
$(IMAGES_DIR)/aboutODP5.svg \
$(IMAGES_DIR)/overview.svg
-EXTRA_DIST = $(top_srcdir)/doc/process-guide/bylaws-guide.adoc \
- $(top_srcdir)/doc/process-guide/release-guide.adoc \
- $(top_srcdir)/doc/process-guide/faq.adoc \
+EXTRA_DIST = bylaws-guide.adoc \
+ release-guide.adoc \
+ faq.adoc \
$(top_srcdir)/CONTRIBUTING \
$(IMAGES)
@@ -26,13 +26,13 @@ clean-local:
rm -f $(builddir)/CONTRIBUTING.html
rm -f $(builddir)/CHANGELOG.html
-release-guide.html: $(top_srcdir)/doc/process-guide/release-guide.adoc \
+release-guide.html: release-guide.adoc \
$(IMAGES_DIR)/simple_release_git.svg \
$(IMAGES_DIR)/release_git.svg
-bylaws-guide.html: $(top_srcdir)/doc/process-guide/bylaws-guide.adoc
+bylaws-guide.html: bylaws-guide.adoc
-faq.html: $(top_srcdir)/doc/process-guide/faq.adoc \
+faq.html: faq.adoc \
$(IMAGES)
#special case is not postfixed .adoc
@@ -1,12 +1,12 @@
include ../Makefile.inc
-SRC = $(top_srcdir)/doc/users-guide/users-guide.adoc \
- $(top_srcdir)/doc/users-guide/users-guide-cls.adoc \
- $(top_srcdir)/doc/users-guide/users-guide-crypto.adoc \
- $(top_srcdir)/doc/users-guide/users-guide-packet.adoc \
- $(top_srcdir)/doc/users-guide/users-guide-pktio.adoc \
- $(top_srcdir)/doc/users-guide/users-guide-timer.adoc \
- $(top_srcdir)/doc/users-guide/users-guide-tm.adoc
+SRC = users-guide.adoc \
+ users-guide-cls.adoc \
+ users-guide-crypto.adoc \
+ users-guide-packet.adoc \
+ users-guide-pktio.adoc \
+ users-guide-timer.adoc \
+ users-guide-tm.adoc
TARGET = users-guide.html
IMAGES = $(IMAGES_DIR)/overview.svg \
$(IMAGES_DIR)/atomic_queue.svg \
@@ -50,5 +50,3 @@ $(TARGET): $(SRC) $(IMAGES)
clean-local:
rm -f $(builddir)/$(TARGET)
-
-$(SRC): $(IMAGES)