summaryrefslogtreecommitdiff
blob: 84165124f60ba9d74b655d25386951fd9b4515df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
AUTOMAKE_OPTIONS = dist-xz no-dist-gzip

doc_files = README TODO
export symlinks := kernel-config profile-config rc-config

SUBDIRS = doc man misc bin libs modules
MAINTAINERCLEANFILES = \
	aclocal.m4 \
	configure \
	Makefile.in \
	*.html

EXTRA_DIST = \
	autogen.bash \
	ChangeLog \
	$(doc_files)

html: $(foreach f, $(doc_files), $(f).html)
	cd doc && $(MAKE) html

%.html: %
	@RST2HTML@ --strip-comments < $? > $@

maintainer-clean-local:
	-rm -rf config