From 5545aca4d7cad203564564c2e851a5eee13d75b8 Mon Sep 17 00:00:00 2001 From: zwelch Date: Wed, 20 May 2009 08:44:37 +0000 Subject: [PATCH] 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 --- doc/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/Makefile.am b/doc/Makefile.am index e85ed752..0b1318a6 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 -- 2.39.5