2000-06-02 04:00:31 -05:00
|
|
|
|
2000-12-21 21:47:40 -06:00
|
|
|
SUBDIRS = macros debian doc-tools doc intl lib src po rpm accounts
|
2000-06-02 04:00:31 -05:00
|
|
|
|
|
|
|
docdir = ${GNC_DOC_INSTALL_DIR}
|
|
|
|
|
2001-02-24 18:42:44 -06:00
|
|
|
noinst_DATA = make-gnucash-patch @GNC_TAGS_FILE@
|
2000-06-02 04:00:31 -05:00
|
|
|
|
|
|
|
doc_DATA = \
|
|
|
|
AUTHORS \
|
|
|
|
COPYING \
|
|
|
|
ChangeLog \
|
2000-08-22 18:43:56 -05:00
|
|
|
HACKING \
|
2000-06-02 04:00:31 -05:00
|
|
|
INSTALL \
|
|
|
|
NEWS \
|
|
|
|
README
|
|
|
|
|
2000-06-05 00:51:39 -05:00
|
|
|
# All the other files that go in the distribution tarfile that aren't
|
|
|
|
# included some other way...
|
|
|
|
|
|
|
|
# Most directories handle their own EXTRA_DIST setting, but for some,
|
2000-12-21 17:40:02 -06:00
|
|
|
# it's not worth the trouble and for others, there's no Makefile.am
|
|
|
|
# (i.e. ./intl and ./po -- these handle their own Makefile.in and
|
|
|
|
# Makefile.in.in files...), so we list their files here.
|
2000-06-05 00:51:39 -05:00
|
|
|
|
|
|
|
# Don't list any directories or you'll get *everything*, including the
|
|
|
|
# CVS dirs.
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
.cvsignore \
|
2000-09-16 20:22:15 -05:00
|
|
|
HACKING \
|
2000-06-05 00:51:39 -05:00
|
|
|
gnucash.lsm \
|
|
|
|
make-gnucash-patch.in \
|
2001-04-02 17:23:21 -05:00
|
|
|
po/.cvsignore \
|
|
|
|
po/README
|
2000-06-05 00:51:39 -05:00
|
|
|
|
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.
|
|
|
|
make-gnucash-patch: make-gnucash-patch.in
|
|
|
|
rm -f $@.tmp
|
|
|
|
sed < $@.in > $@.tmp \
|
|
|
|
-e 's:@-PERL-@:${PERL}:g'
|
|
|
|
chmod +x $@.tmp
|
|
|
|
mv $@.tmp $@
|
|
|
|
|
2001-02-24 18:42:44 -06:00
|
|
|
DISTCLEANFILES += \
|
|
|
|
TAGS.stamp cscope.files cscope.out etags.files make-gnucash-patch
|
2000-06-02 04:00:31 -05:00
|
|
|
|
2000-12-11 15:26:58 -06:00
|
|
|
cscope.files:
|
|
|
|
find . -name '*.[ch]' > cscope.files
|
2000-06-02 04:00:31 -05:00
|
|
|
|
2000-12-11 15:26:58 -06:00
|
|
|
cscope.out: cscope.files
|
|
|
|
cscope -b
|
|
|
|
|
2001-02-24 18:42:44 -06:00
|
|
|
if GNC_TAGS_FILE
|
|
|
|
|
|
|
|
TAGS.stamp: etags.files $(shell cat etags.files)
|
2000-12-12 15:39:23 -06:00
|
|
|
etags `cat etags.files`
|
2001-02-24 18:42:44 -06:00
|
|
|
touch TAGS.stamp
|
|
|
|
|
|
|
|
TAGS:
|
|
|
|
find . -name '*.[ch]' -o -name '*.scm' | sort > etags.files.tmp
|
|
|
|
@if cmp --quiet etags.files etags.files.tmp; \
|
|
|
|
then \
|
|
|
|
echo "TAGS file list hasn't changed."; \
|
|
|
|
rm -f etags.files.tmp; \
|
|
|
|
else \
|
|
|
|
echo "TAGS file list has changed."; \
|
|
|
|
mv etags.files.tmp etags.files; \
|
|
|
|
fi
|
|
|
|
${MAKE} TAGS.stamp
|
|
|
|
|
|
|
|
.PHONY: TAGS
|
2000-12-11 15:26:58 -06:00
|
|
|
|
2001-02-24 18:42:44 -06:00
|
|
|
endif
|