aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2006-12-06 14:46:26 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2006-12-06 14:46:26 +0000
commitd0d9b5cf1a7664b762c71d8e253976797340730b (patch)
tree0ed6b16dc2c3c0d10f8069f79555ab1bdb796db3
parent2ca469b90e868e14224a2e6cf7b4a912586faddd (diff)
downloadmailfromd-d0d9b5cf1a7664b762c71d8e253976797340730b.tar.gz
mailfromd-d0d9b5cf1a7664b762c71d8e253976797340730b.tar.bz2
(extract): Handle include dependencies
git-svn-id: file:///svnroot/mailfromd/trunk@1090 7a8a7f39-df28-0410-adc6-e0d955640f24
-rw-r--r--doc/Makefile.am17
1 files changed, 16 insertions, 1 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 039f24a9..27cc328c 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -132,4 +132,19 @@ manual:
$(GENDOCS) $(PACKAGE) '$(PACKAGE_NAME) manual'
extract:
- @${AWK} -vSELECT=${SELECT} -f ${top_srcdir}/doc/extract.awk ${info_TEXINFOS} \ No newline at end of file
+ @echo "${SELECT}" > sel.tmp; \
+ while [ -s sel.tmp ]; \
+ do \
+ s=`cat sel.tmp | tr '\n' ','`; \
+ rm sel.tmp; \
+ ${AWK} -vSELECT=$$s \
+ -f ${top_srcdir}/doc/extract.awk ${info_TEXINFOS} | \
+ while read word rest; \
+ do \
+ if [ $$word = "Require" ]; then \
+ echo "$$rest" >> sel.tmp; \
+ else \
+ echo $$word $$rest; \
+ fi; \
+ done; \
+ done

Return to:

Send suggestions and report system problems to the System administrator.