From: fred Date: Sun, 24 Mar 2002 19:50:33 +0000 (+0000) Subject: lilypond-0.1.1 X-Git-Tag: release/1.5.59~4307 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=fb005ed14a97a5d252aea8282ad74a949f413536;p=lilypond.git lilypond-0.1.1 --- diff --git a/lib/Makefile b/lib/Makefile index 280af9ce06..1fbb2d83c2 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -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 index 0000000000..2aa23dfdaa --- /dev/null +++ b/lib/config.hh.in @@ -0,0 +1,6 @@ +/* @configure_input@ */ +#ifndef CONFIG_HH +#define CONFIG_HH +#define DIR_DATADIR "@DIR_DATADIR@" + +#endif diff --git a/make/Targets.make b/make/Targets.make index 1369366262..206e2c0267 100644 --- a/make/Targets.make +++ b/make/Targets.make @@ -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