mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-28 03:34:05 -06:00
3d910ad2b1
And with it all quirks we still had in the code to support that version.
38 lines
754 B
Makefile
38 lines
754 B
Makefile
gncscmdir = ${GNC_SCM_INSTALL_DIR}/gnumeric
|
|
gncscm_DATA = \
|
|
gnumeric-utilities.scm \
|
|
table-utils.scm
|
|
|
|
if GNUCASH_SEPARATE_BUILDDIR
|
|
SCM_FILE_LINKS = \
|
|
${gncscm_DATA}
|
|
endif
|
|
|
|
.scm-links:
|
|
if GNUCASH_SEPARATE_BUILDDIR
|
|
for X in ${SCM_FILE_LINKS} ; do \
|
|
$(LN_S) -f ${srcdir}/$$X . ; \
|
|
done
|
|
endif
|
|
if ! OS_WIN32
|
|
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
|
|
touch .scm-links
|
|
endif
|
|
|
|
%.go : %.scm .scm-links
|
|
$(GUILD) compile \
|
|
-o $@ $<
|
|
|
|
gncscmcachedir = ${pkglibdir}/scm/ccache/@GUILE_EFFECTIVE_VERSION@/gnumeric
|
|
gncscmcache_DATA = $(gncscm_DATA:.scm=.go)
|
|
|
|
noinst_DATA = .scm-links
|
|
|
|
EXTRA_DIST = \
|
|
${gncscm_DATA} \
|
|
CMakeLists.txt
|
|
|
|
CLEANFILES = .scm-links ${gncscmcache_DATA}
|
|
|
|
DISTCLEANFILES = ${SCM_FILE_LINKS}
|