From 4e051901fc3847c6490610b95faf5a17016d22e5 Mon Sep 17 00:00:00 2001 From: Francesco Salvestrini Date: Tue, 9 Sep 2008 23:44:06 +0200 Subject: [PATCH] Temporary hack for docs generation (to be rearranged later on) --- configure.ac.in | 6 ++++-- docs/Makefile.am | 3 +++ docs/{ => design}/Makefile.am | 17 +++++++++++++++++ 3 files changed, 24 insertions(+), 2 deletions(-) copy docs/{ => design}/Makefile.am (75%) diff --git a/configure.ac.in b/configure.ac.in index ce6fe8a..e4cc729 100644 --- a/configure.ac.in +++ b/configure.ac.in @@ -57,8 +57,9 @@ AC_PROG_RANLIB # # Maintainer-side related program checks # -AX_PATH_MISSING([WGET],[wget]) -AX_PATH_MISSING([PERL],[perl]) +AX_PATH_MISSING([WGET], [wget]) +AX_PATH_MISSING([PERL], [perl]) +AX_PATH_MISSING([ASCIIDOC], [asciidoc]) # # User-side related program checks @@ -70,6 +71,7 @@ AC_CONFIG_FILES([ src/Makefile docs/Makefile + docs/design/Makefile tools/Makefile tools/autotools/Makefile diff --git a/docs/Makefile.am b/docs/Makefile.am index 6225dde..8f469f1 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -20,6 +20,9 @@ include $(top_srcdir)/Makefile.maint +SUBDIRS = \ + design + ## ## User related targets ## diff --git a/docs/Makefile.am b/docs/design/Makefile.am similarity index 75% copy from docs/Makefile.am copy to docs/design/Makefile.am index 6225dde..3060f1b 100644 --- a/docs/Makefile.am +++ b/docs/design/Makefile.am @@ -25,6 +25,23 @@ include $(top_srcdir)/Makefile.maint ## ## +## XXX FIXME: To be moved elsewhere +## + +CLEAN_FILES = +EXTRA_DIST = + +CodingStyle.html: Makefile CodingStyle.txt + $(ASCIIDOC) -o CodingStyle.html CodingStyle.txt || { \ + rm -f CodingStyle.html ; \ + exit 1 ; \ + } +CLEAN_FILES += CodingStyle.html +EXTRA_DIST += CodingStyle.txt + +all-local: CodingStyle.html + +## ## Maintainer related targets ## -- 2.11.4.GIT