From b2acdcaf985b41a7e9fb1a9107c00b13360e895a Mon Sep 17 00:00:00 2001 From: R. Mattes
Date: Sat, 14 May 2011 21:45:09 +0200 Subject: [PATCH 2/2] Fixed build of pathconfig.h --- src/Makefile.am | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 7737e7c..cf3ae42 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -46,7 +46,7 @@ denemo_SOURCES = articulations.c calculatepositions.c changenotehead.c \ drawlilydir.c lilydirectives.h lilydirectives.c keysigdialog.h \ callbacks.h entries.h \ scheme_cb.h scheme.h register_commands.h \ - denemo-paths.h + pathconfig.h localedir = $(datadir)/locale INCLUDES = -I../intl -I$(top_srcdir)/intl -I$(top_srcdir)/include \ @@ -62,13 +62,14 @@ INCLUDES = -I../intl -I$(top_srcdir)/intl -I$(top_srcdir)/include \ denemo_LDADD = $(INTLLIBS) ../libsmf/libsmf.a AM_CPPFLAGS = $(BINRELOC_CFLAGS) -denemo-paths.h: $(top_builddir)/config.status - @echo "Generating denemo-path.h..." - @echo '#define DENEMO_LOAD_PATH "@denemo_load_path@"' >$@ - @echo '#define DENEMO_BIN_PATH "@denemo_bin_path@"' >>$@ - @mv denemo-path.tmp $@ +pathconfig.h: $(top_builddir)/config.status + address@hidden pathconfig.tmp + @echo "Generating pathconfig.h..." + @echo '#define DENEMO_LOAD_PATH "@denemo_load_path@"' >pathconfig.tmp + @echo '#define DENEMO_BIN_PATH "@denemo_bin_path@"' >>pathconfig.tmp + @mv pathconfig.tmp $@ -noinst_HEADERS = parseinstruments.h keyboard.h denemo-paths.h +noinst_HEADERS = parseinstruments.h keyboard.h DISTCLEANFILES: denemo-path.h -- 1.7.2.3