2013-08-29 15:21:13 +01:00
|
|
|
# CORE
|
2018-03-15 18:55:01 +00:00
|
|
|
|
2013-08-29 15:21:13 +01:00
|
|
|
if WANT_DAEMON
|
2022-03-08 22:18:47 +00:00
|
|
|
DAEMON_MANS = vnoded.1 vcmd.1 netns.1 core-daemon.1 core-gui.1 \
|
|
|
|
core-cleanup.1
|
2013-08-29 15:21:13 +01:00
|
|
|
endif
|
2022-03-08 22:18:47 +00:00
|
|
|
man_MANS = $(DAEMON_MANS)
|
2013-08-29 15:21:13 +01:00
|
|
|
|
|
|
|
.PHONY: generate-mans
|
|
|
|
generate-mans:
|
2019-06-08 05:50:32 +01:00
|
|
|
$(HELP2MAN) --source CORE 'sh $(top_srcdir)/gui/core-gui' -o core-gui.1
|
|
|
|
$(HELP2MAN) --no-info --source CORE $(top_srcdir)/netns/vnoded -o vnoded.1
|
|
|
|
$(HELP2MAN) --no-info --source CORE $(top_srcdir)/netns/vcmd -o vcmd.1
|
|
|
|
$(HELP2MAN) --no-info --source CORE $(top_srcdir)/netns/netns -o netns.1
|
|
|
|
$(HELP2MAN) --version-string=$(PACKAGE_VERSION) --no-info --source CORE $(top_srcdir)/daemon/scripts/core-daemon -o core-daemon.1
|
|
|
|
$(HELP2MAN) --version-string=$(PACKAGE_VERSION) --no-info --source CORE $(top_srcdir)/daemon/scripts/core-cleanup -o core-cleanup.1
|
2013-08-29 15:21:13 +01:00
|
|
|
|
|
|
|
.PHONY: diff
|
|
|
|
diff:
|
|
|
|
for m in ${man_MANS}; do \
|
|
|
|
colordiff -u $$m $$m.new | less -R; \
|
|
|
|
done;
|
|
|
|
|
2018-03-15 18:55:01 +00:00
|
|
|
clean-local:
|
|
|
|
-rm -f $(addsuffix .new,$(GUI_MANS))
|
|
|
|
-rm -f $(addsuffix .new,$(DAEMON_MANS))
|
|
|
|
|
2013-08-29 15:21:13 +01:00
|
|
|
DISTCLEANFILES = Makefile.in
|
|
|
|
EXTRA_DIST = $(man_MANS)
|