diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Makefile.am | 4 |
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 |