]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.2.6
authorfred <fred>
Tue, 26 Mar 2002 21:51:20 +0000 (21:51 +0000)
committerfred <fred>
Tue, 26 Mar 2002 21:51:20 +0000 (21:51 +0000)
lily/GNUmakefile
midi2ly/GNUmakefile
stepmake/stepmake/help2man-rules.make [new file with mode: 0644]
stepmake/stepmake/help2man-vars.make [new file with mode: 0644]

index 1de3dc99c25743fa46900e4ef99e91247945d908..b40f17484daf40674bcfd8fad9b05e5ab042a57d 100644 (file)
@@ -9,10 +9,9 @@ SUBDIRS = include
 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 
 
index de64e3e8bd44a5eadf28f21fa6fef1ce821efd8c..906205f63095e71bf7f756885d64ffd153b5a744 100644 (file)
@@ -9,7 +9,8 @@ MODULE_NAME = midi2ly
 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 
 
diff --git a/stepmake/stepmake/help2man-rules.make b/stepmake/stepmake/help2man-rules.make
new file mode 100644 (file)
index 0000000..d199a62
--- /dev/null
@@ -0,0 +1,3 @@
+
+$(outdir)/%.1: $(outdir)/%
+       $(PERL) $(depth)/buildscripts/help2man.pl $< > $@
diff --git a/stepmake/stepmake/help2man-vars.make b/stepmake/stepmake/help2man-vars.make
new file mode 100644 (file)
index 0000000..4d9b9c9
--- /dev/null
@@ -0,0 +1,4 @@
+
+HELP2MAN_GROFFS = $(addsuffix .1, $(addprefix $(outdir)/, $(HELP2MAN_EXECS)))
+
+OUT_DIST_FILES += $(HELP2MAN_GROFFS)