MODULE_LIBS=$(depth)/lib $(depth)/flower
MODULE_INCLUDES=$(depth)/lib/include $(depth)/flower/include
MODULE_CXXFLAGS=
+HELP2MAN_EXECS = lilypond
-
-
-STEPMAKE_TEMPLATES= c++ executable po
+STEPMAKE_TEMPLATES= c++ executable po help2man
include $(depth)/make/stepmake.make
SUBDIRS = include
EXTRA_DIST_FILES += TODO
MODULE_LIBS=$(depth)/lib $(depth)/flower
-STEPMAKE_TEMPLATES=c++ executable po
+HELP2MAN_EXECS = midi2ly
+STEPMAKE_TEMPLATES=c++ executable po help2man
include $(depth)/make/stepmake.make
--- /dev/null
+
+$(outdir)/%.1: $(outdir)/%
+ $(PERL) $(depth)/buildscripts/help2man.pl $< > $@
--- /dev/null
+
+HELP2MAN_GROFFS = $(addsuffix .1, $(addprefix $(outdir)/, $(HELP2MAN_EXECS)))
+
+OUT_DIST_FILES += $(HELP2MAN_GROFFS)