2000-06-02 04:00:31 -05:00
|
|
|
|
2001-08-16 19:44:01 -05:00
|
|
|
SUBDIRS = gnumeric printing
|
2000-06-02 04:00:31 -05:00
|
|
|
|
|
|
|
gncscmdir = ${GNC_SCM_INSTALL_DIR}
|
2001-06-11 02:11:37 -05:00
|
|
|
gncscmmoddir = ${GNC_SHAREDIR}/guile-modules/gnucash
|
2001-06-04 14:14:11 -05:00
|
|
|
|
2006-02-17 14:22:54 -06:00
|
|
|
gncscmmod_DATA = process.scm main.scm price-quotes.scm
|
2000-06-05 00:51:39 -05:00
|
|
|
|
|
|
|
gnc_regular_scm_files = \
|
2000-06-02 04:00:31 -05:00
|
|
|
command-line.scm \
|
|
|
|
doc.scm \
|
2002-07-11 00:17:04 -05:00
|
|
|
fin.scm \
|
2001-04-24 18:11:15 -05:00
|
|
|
main-window.scm \
|
2000-06-02 04:00:31 -05:00
|
|
|
substring-search.scm \
|
2000-12-21 02:53:54 -06:00
|
|
|
xml-generator.scm
|
2000-06-02 04:00:31 -05:00
|
|
|
|
2006-02-17 14:22:54 -06:00
|
|
|
gncscm_DATA = \
|
|
|
|
build-config.scm \
|
|
|
|
${gnc_regular_scm_files}
|
2000-06-05 00:51:39 -05:00
|
|
|
|
2001-08-16 19:44:01 -05:00
|
|
|
noinst_DATA = .scm-links
|
|
|
|
|
2001-11-12 17:20:15 -06:00
|
|
|
configdir = ${GNC_CONFIGDIR}
|
|
|
|
config_DATA = config
|
|
|
|
|
2006-02-17 14:22:54 -06:00
|
|
|
if GNUCASH_SEPARATE_BUILDDIR
|
|
|
|
SCM_FILE_LINKS = \
|
|
|
|
${gncscmmod_DATA} \
|
|
|
|
${gnc_regular_scm_files}
|
|
|
|
endif
|
|
|
|
|
2001-08-16 19:44:01 -05:00
|
|
|
.scm-links:
|
|
|
|
rm -f gnucash
|
2006-03-09 08:28:54 -06:00
|
|
|
$(LN_S) -f ${srcdir} gnucash
|
2006-02-17 14:22:54 -06:00
|
|
|
if GNUCASH_SEPARATE_BUILDDIR
|
|
|
|
for X in ${SCM_FILE_LINKS} ; do \
|
2006-03-09 08:28:54 -06:00
|
|
|
$(LN_S) -f ${srcdir}/$$X . ; \
|
2006-02-17 14:22:54 -06:00
|
|
|
done
|
|
|
|
endif
|
2001-08-16 19:44:01 -05:00
|
|
|
touch .scm-links
|
|
|
|
|
2001-07-03 03:46:45 -05:00
|
|
|
SCM_FILES = ${gncscm_DATA} ${gncscmmod_DATA}
|
|
|
|
|
2000-06-05 00:51:39 -05:00
|
|
|
EXTRA_DIST = \
|
2001-12-04 17:11:41 -06:00
|
|
|
build-config.scm.in \
|
2001-11-12 17:20:15 -06:00
|
|
|
config \
|
2000-06-05 00:51:39 -05:00
|
|
|
startup-design.txt \
|
2001-07-03 03:46:45 -05:00
|
|
|
${SCM_FILES}
|
2000-06-02 04:00:31 -05:00
|
|
|
|
|
|
|
## We borrow guile's convention and use @-...-@ as the substitution
|
|
|
|
## brackets here, instead of the usual @...@. This prevents autoconf
|
|
|
|
## from substituting the values directly into the left-hand sides of
|
|
|
|
## the sed substitutions. *sigh*
|
2004-04-26 10:31:15 -05:00
|
|
|
build-config.scm: ${srcdir}/build-config.scm.in Makefile
|
2000-06-02 04:00:31 -05:00
|
|
|
rm -f $@.tmp
|
2002-02-28 02:31:32 -06:00
|
|
|
sed < $< > $@.tmp \
|
2000-06-02 04:00:31 -05:00
|
|
|
-e 's:@-VERSION-@:${VERSION}:' \
|
2000-09-09 05:25:53 -05:00
|
|
|
-e 's:@-GNC_HELPDIR-@:${GNC_HELPDIR}:'
|
2000-06-02 04:00:31 -05:00
|
|
|
mv $@.tmp $@
|
2003-01-20 11:11:50 -06:00
|
|
|
|
2006-02-17 14:22:54 -06:00
|
|
|
CLEANFILES = gnucash .scm-links
|
|
|
|
DISTCLEANFILES = ${SCM_FILE_LINKS}
|
2003-01-20 11:11:50 -06:00
|
|
|
MAINTAINERCLEANFILES = build-config.scm
|