aboutsummaryrefslogtreecommitdiff
path: root/doc/Makefile.am
blob: ce2d78d9d938a064b2f3ad8bf15efad94f44642c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
info_TEXINFOS = openocd.texi
openocd_TEXINFOS = fdl.texi
man_MANS = openocd.1
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 = \
	$(srcdir)/Makefile.in \
	$(srcdir)/mdate-sh \
	$(srcdir)/texinfo.tex