]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.1.1
authorfred <fred>
Sun, 24 Mar 2002 19:50:33 +0000 (19:50 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:50:33 +0000 (19:50 +0000)
lib/Makefile
lib/config.hh.in [new file with mode: 0644]
make/Targets.make

index 280af9ce067401caefb248da93b8d2710d2d0744..1fbb2d83c27b1022761e7321b0ae083389cd9faa 100644 (file)
@@ -37,7 +37,7 @@ VERSION_DEPENDENCY =#
 
 # list of distribution files:
 #
-DISTFILES = Makefile $(ALL_SOURCES)
+EXTRA_DISTFILES = config.hh.in
 #
 
 # list of custom libraries:
diff --git a/lib/config.hh.in b/lib/config.hh.in
new file mode 100644 (file)
index 0000000..2aa23df
--- /dev/null
@@ -0,0 +1,6 @@
+/* @configure_input@ */
+#ifndef CONFIG_HH
+#define CONFIG_HH
+#define  DIR_DATADIR "@DIR_DATADIR@"
+
+#endif
index 1369366262663f69aa5d9c477c6155ef596dbc17..206e2c02679160be445ac73204716ac5094c754f 100644 (file)
@@ -136,9 +136,28 @@ dist:
 # should be trapped
        rm -rf $(distdir)/
 
+# ugh. should generate in out/
+dozedist: doosdist
+doosdist:
+       -mkdir $(distdir)
+#      nogo, SUBDIRS is handed down to subdir...
+#      $(MAKE) SUBDIRS="Documentation init input tex" localdist
+       $(MAKE) localdist
+       chmod -Rf a+rX $(distdir)
+#      ugh, the ugly way, then
+       (cd $(distdir); rm -rf $(NO_DOOS_DIST))
+       cp $(lilyout)/lilypond.exe $(distdir)
+       strip -s $(distdir)/lilypond.exe
+       cp $(mi2muout)/mi2mu.exe $(distdir)
+       strip -s $(distdir)/mi2mu.exe
+       (cd ./$(depth); $(ZIP) $(DIST_NAME).exe.zip $(distdir))
+# should be trapped
+       rm -rf $(distdir)/
+
+
 localdist: $(DISTFILES)
        if [ -d out ]; then mkdir $(distdir)/$(localdir)/out; fi
-       ln $(DISTFILES) $(distdir)/$(localdir)
+       $(LN) $(DISTFILES) $(distdir)/$(localdir)
 ifdef SUBDIRS
        set -e; for i in $(SUBDIRS); do mkdir $(distdir)/$(localdir)/$$i; \
                $(MAKE) localdir=$(localdir)/$$i -C $$i localdist; done
@@ -151,7 +170,7 @@ moduledist:
        rm -rf $(module-distdir)/ 
 
 localmoduledist:
-       ln $(DISTFILES) $(module-distdir)/$(localdir)
+       $(LN) $(DISTFILES) $(module-distdir)/$(localdir)
 ifdef SUBDIRS
        set -e; for i in $(SUBDIRS); do mkdir $(module-distdir)/$(localdir)/$$i; done
        set -e; for i in $(SUBDIRS); do $(MAKE) localdir=$(localdir)/$$i -C $$i localmoduledist; done
@@ -175,12 +194,14 @@ $(outdir)/version.hh: VERSION
 
 
 # should this be in Rules?
-configure: configure.in
+configure: configure.in aclocal.m4
        autoconf - < $<> $@
        chmod +x configure
 
 localclean:
 
+install-strip:
+       $(MAKE) INSTALL="$(INSTALL) -s" install
 
 install: localinstall
 ifdef SUBDIRS