mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Next round of Makefile symlink cleanup.
Scheme files are now symlinked or copied into subdirectories gnucash/. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14767 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
cff868d9cc
commit
54f3190e6e
@ -89,17 +89,20 @@ endif
|
||||
noinst_DATA = .scm-links
|
||||
|
||||
.scm-links:
|
||||
rm -f g-wrapped gnucash import-export qif-import
|
||||
$(LN_S) -f . qif-import # to fix (load "qif-import/foo.scm")
|
||||
$(LN_S) -f . import-export
|
||||
$(LN_S) -f . gnucash
|
||||
$(LN_S) -f . g-wrapped
|
||||
$(RM) -rf gnucash
|
||||
mkdir -p gnucash qif-import
|
||||
mkdir -p gnucash/import-export
|
||||
if GNUCASH_SEPARATE_BUILDDIR
|
||||
for X in ${SCM_FILE_LINKS} ; do \
|
||||
$(LN_S) -f ${srcdir}/$$X . ; \
|
||||
done
|
||||
endif
|
||||
( cd gnucash/import-export; for A in $(gncscmmod_DATA) ; do $(LN_S) -f ../../$$A . ; done )
|
||||
( cd qif-import; for A in $(gncscm_DATA) ; do $(LN_S) -f ../$$A . ; done )
|
||||
touch .scm-links
|
||||
|
||||
CLEANFILES += qif-import import-export gnucash g-wrapped .scm-links
|
||||
clean-local:
|
||||
$(RM) -rf gnucash qif-import
|
||||
|
||||
CLEANFILES += .scm-links
|
||||
DISTCLEANFILES = ${SCM_FILE_LINKS}
|
||||
|
@ -25,18 +25,22 @@ SCM_FILE_LINKS = \
|
||||
endif
|
||||
|
||||
.scm-links:
|
||||
rm -f gnucash import-export
|
||||
$(LN_S) -f . gnucash
|
||||
$(LN_S) -f . import-export
|
||||
$(RM) -rf gnucash
|
||||
mkdir -p gnucash
|
||||
mkdir -p gnucash/import-export
|
||||
if GNUCASH_SEPARATE_BUILDDIR
|
||||
for X in ${SCM_FILE_LINKS} ; do \
|
||||
$(LN_S) -f ${srcdir}/$$X . ; \
|
||||
done
|
||||
endif
|
||||
( cd gnucash/import-export; for A in $(gncscmmod_DATA) ; do $(LN_S) -f ../../$$A . ; done )
|
||||
touch .scm-links
|
||||
|
||||
gncscmmoddir = ${GNC_SHAREDIR}/guile-modules/gnucash/import-export/
|
||||
gncscmmod_DATA = qif-io-core.scm
|
||||
|
||||
CLEANFILES = gnucash import-export .scm-links
|
||||
clean-local:
|
||||
$(RM) -rf qif-import
|
||||
|
||||
CLEANFILES = .scm-links
|
||||
DISTCLEANFILES = ${SCM_FILE_LINKS}
|
||||
|
Loading…
Reference in New Issue
Block a user