aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-20 08:44:37 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-20 08:44:37 +0000
commit5545aca4d7cad203564564c2e851a5eee13d75b8 (patch)
treebf77490265ea05f053e26e6439d67fad17ab31dd
parented294121ef3cf086cf582b635688eaa3caa487a7 (diff)
downloadriscv-openocd-5545aca4d7cad203564564c2e851a5eee13d75b8.zip
riscv-openocd-5545aca4d7cad203564564c2e851a5eee13d75b8.tar.gz
riscv-openocd-5545aca4d7cad203564564c2e851a5eee13d75b8.tar.bz2
Fix doc/Makefile.am dist-hook to include all sections of manual.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1854 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r--doc/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index e85ed75..0b1318a 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -6,5 +6,9 @@ EXTRA_DIST = openocd.1
dist-hook:
mkdir $(distdir)/manual
cp -p $(srcdir)/manual/*.txt $(distdir)/manual
+ for i in $$(cd $(srcdir)/manual/ && ls -d */); do \
+ mkdir $(distdir)/manual/$$i; \
+ cp -p $(srcdir)/manual/$$i/* $(distdir)/manual/$$i/; \
+ done
MAINTAINERCLEANFILES = Makefile.in mdate-sh texinfo.tex