gnucash/src/scm/Makefile.am

63 lines
1.5 KiB
Makefile
Raw Normal View History

SUBDIRS = gnumeric printing
gncscmdir = ${GNC_SCM_INSTALL_DIR}
gncscmmoddir = ${GNC_SHAREDIR}/guile-modules/gnucash
gncscmmod_DATA = process.scm
gnc_autogen_scm_files = \
bootstrap.scm
gnc_regular_scm_files = \
command-line.scm \
depend.scm \
doc.scm \
extensions.scm \
help-topics-index.scm \
main.scm \
main-window.scm \
path.scm \
price-quotes.scm \
slib-backup.scm \
startup.scm \
substring-search.scm \
tip-list.scm \
tip-of-the-day.scm \
xml-generator.scm
gncscm_DATA = ${gnc_autogen_scm_files} ${gnc_regular_scm_files}
noinst_DATA = .scm-links
.scm-links:
rm -f gnucash
ln -sf . gnucash
touch .scm-links
CLEANFILES = .scm-links gnucash
SCM_FILES = ${gncscm_DATA} ${gncscmmod_DATA}
EXTRA_DIST = \
.cvsignore \
bootstrap.scm.in \
startup-design.txt \
${SCM_FILES}
## 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*
bootstrap.scm: bootstrap.scm.in Makefile
rm -f $@.tmp
sed < $@.in > $@.tmp \
-e 's:@-VERSION-@:${VERSION}:' \
-e 's:@-GNC_CONFIGDIR-@:${GNC_CONFIGDIR}:' \
-e 's:@-GNC_SHAREDIR-@:${GNC_SHAREDIR}:' \
-e 's:@-GNC_LIB_INSTALLDIR-@:${libdir}:' \
-e 's:@-GNC_PKGLIB_INSTALLDIR-@:${pkglibdir}:' \
-e 's:@-GNC_HELPDIR-@:${GNC_HELPDIR}:'
mv $@.tmp $@
CLEANFILES += bootstrap.scm