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
|
noinst_DATA = .scm-links
|
||||||
|
|
||||||
.scm-links:
|
.scm-links:
|
||||||
rm -f g-wrapped gnucash import-export qif-import
|
$(RM) -rf gnucash
|
||||||
$(LN_S) -f . qif-import # to fix (load "qif-import/foo.scm")
|
mkdir -p gnucash qif-import
|
||||||
$(LN_S) -f . import-export
|
mkdir -p gnucash/import-export
|
||||||
$(LN_S) -f . gnucash
|
|
||||||
$(LN_S) -f . g-wrapped
|
|
||||||
if GNUCASH_SEPARATE_BUILDDIR
|
if GNUCASH_SEPARATE_BUILDDIR
|
||||||
for X in ${SCM_FILE_LINKS} ; do \
|
for X in ${SCM_FILE_LINKS} ; do \
|
||||||
$(LN_S) -f ${srcdir}/$$X . ; \
|
$(LN_S) -f ${srcdir}/$$X . ; \
|
||||||
done
|
done
|
||||||
endif
|
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
|
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}
|
DISTCLEANFILES = ${SCM_FILE_LINKS}
|
||||||
|
@ -25,18 +25,22 @@ SCM_FILE_LINKS = \
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
.scm-links:
|
.scm-links:
|
||||||
rm -f gnucash import-export
|
$(RM) -rf gnucash
|
||||||
$(LN_S) -f . gnucash
|
mkdir -p gnucash
|
||||||
$(LN_S) -f . import-export
|
mkdir -p gnucash/import-export
|
||||||
if GNUCASH_SEPARATE_BUILDDIR
|
if GNUCASH_SEPARATE_BUILDDIR
|
||||||
for X in ${SCM_FILE_LINKS} ; do \
|
for X in ${SCM_FILE_LINKS} ; do \
|
||||||
$(LN_S) -f ${srcdir}/$$X . ; \
|
$(LN_S) -f ${srcdir}/$$X . ; \
|
||||||
done
|
done
|
||||||
endif
|
endif
|
||||||
|
( cd gnucash/import-export; for A in $(gncscmmod_DATA) ; do $(LN_S) -f ../../$$A . ; done )
|
||||||
touch .scm-links
|
touch .scm-links
|
||||||
|
|
||||||
gncscmmoddir = ${GNC_SHAREDIR}/guile-modules/gnucash/import-export/
|
gncscmmoddir = ${GNC_SHAREDIR}/guile-modules/gnucash/import-export/
|
||||||
gncscmmod_DATA = qif-io-core.scm
|
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}
|
DISTCLEANFILES = ${SCM_FILE_LINKS}
|
||||||
|
Loading…
Reference in New Issue
Block a user