summaryrefslogtreecommitdiff
path: root/man/Makefile.am
blob: e05728f915c5bc39a53cfafbadee478cd30fb43b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
dist_man_MANS = lsrc.1 mkrc.1 rcdn.1 rcup.1 rcrc.5 rcm.7

###### manpages as HTML
release_build_man_html:
	([ -d gh-pages ] || git clone --branch gh-pages --single-branch .. gh-pages) && \
	for i in $(dist_man_MANS); do \
	  mandoc -Thtml -Oman=%N.%S.html $$i > gh-pages/$$i.html ; \
	done && \
	cd gh-pages && \
	cp rcm.7.html index.html && \
	git add -A && \
	git commit -m "HTML documentation for $(PACKAGE_VERSION)"

release_push_man_html:
	cd gh-pages && \
		git push -f $(ORIGIN_URL) gh-pages

release_clean_man_html:
	rm -rf gh-pages