2000-06-02 09:00:31 +00:00
|
|
|
|
2001-09-18 10:12:50 +00:00
|
|
|
SUBDIRS = macros debian intl doc-tools doc lib src intl-scm po rpm accounts
|
2000-06-02 09:00:31 +00:00
|
|
|
|
|
|
|
|
docdir = ${GNC_DOC_INSTALL_DIR}
|
|
|
|
|
|
2001-08-17 08:28:31 +00:00
|
|
|
noinst_DATA = make-gnucash-patch make-gnucash-potfiles @GNC_TAGS_FILE@
|
2000-06-02 09:00:31 +00:00
|
|
|
|
|
|
|
|
doc_DATA = \
|
|
|
|
|
AUTHORS \
|
|
|
|
|
COPYING \
|
|
|
|
|
ChangeLog \
|
2001-04-07 10:34:47 +00:00
|
|
|
ChangeLog.1 \
|
2000-08-22 23:43:56 +00:00
|
|
|
HACKING \
|
2000-06-02 09:00:31 +00:00
|
|
|
INSTALL \
|
|
|
|
|
NEWS \
|
2001-05-01 20:58:00 +00:00
|
|
|
README \
|
|
|
|
|
README.patches
|
2000-06-02 09:00:31 +00:00
|
|
|
|
2001-09-07 21:51:13 +00:00
|
|
|
m4datadir = $(datadir)/aclocal
|
|
|
|
|
m4data_DATA = gnucash.m4
|
|
|
|
|
|
2000-06-05 05:51:39 +00: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 23:40:02 +00: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 05:51:39 +00:00
|
|
|
|
|
|
|
|
# Don't list any directories or you'll get *everything*, including the
|
|
|
|
|
# CVS dirs.
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
|
.cvsignore \
|
2001-04-15 07:41:26 +00:00
|
|
|
ChangeLog.1 \
|
2000-09-17 01:22:15 +00:00
|
|
|
HACKING \
|
2001-05-01 20:58:00 +00:00
|
|
|
README.patches \
|
2000-06-05 05:51:39 +00:00
|
|
|
gnucash.lsm \
|
2001-09-23 21:02:01 +00:00
|
|
|
gnucash.m4 \
|
2001-09-06 09:05:38 +00:00
|
|
|
gnucash-config.in \
|
2000-06-05 05:51:39 +00:00
|
|
|
make-gnucash-patch.in \
|
2001-08-17 08:28:31 +00:00
|
|
|
make-gnucash-potfiles.in \
|
2001-04-02 22:23:21 +00:00
|
|
|
po/.cvsignore \
|
2001-08-19 22:47:15 +00:00
|
|
|
po/README \
|
|
|
|
|
po/glossary/de.po \
|
|
|
|
|
po/glossary/gnc-glossary.txt \
|
2001-09-17 09:59:23 +00:00
|
|
|
po/glossary/txt-to-pot.sh \
|
|
|
|
|
xml-i18n-extract.in \
|
|
|
|
|
xml-i18n-merge.in \
|
|
|
|
|
xml-i18n-update.in
|
2001-09-06 09:05:38 +00:00
|
|
|
|
|
|
|
|
bin_SCRIPTS = gnucash-config
|
|
|
|
|
|
|
|
|
|
BUILT_SOURCES = gnucash-config
|
2001-10-03 07:08:31 +00:00
|
|
|
CLEANFILES = gnucash-config
|
2001-09-06 09:05:38 +00:00
|
|
|
|
2000-06-02 09:00:31 +00: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-08-17 08:28:31 +00:00
|
|
|
make-gnucash-potfiles: make-gnucash-potfiles.in
|
|
|
|
|
rm -f $@.tmp
|
|
|
|
|
sed < $@.in > $@.tmp \
|
|
|
|
|
-e 's:@-PERL-@:${PERL}:g'
|
|
|
|
|
chmod +x $@.tmp
|
|
|
|
|
mv $@.tmp $@
|
|
|
|
|
|
2001-09-06 09:05:38 +00:00
|
|
|
gnucash-config: gnucash-config.in
|
|
|
|
|
rm -f $@.tmp
|
|
|
|
|
sed < $@.in > $@.tmp \
|
|
|
|
|
-e 's:@-VERSION-@:${VERSION}:g' \
|
2001-09-06 22:30:14 +00:00
|
|
|
-e 's:@-GNUCASH_ENGINE_CFLAGS-@:${GNUCASH_ENGINE_CFLAGS}:g' \
|
2001-09-15 06:09:43 +00:00
|
|
|
-e 's:@-GNUCASH_ENGINE_LIBS-@:${GNUCASH_ENGINE_LIBS}:g' \
|
|
|
|
|
-e 's:@-GNUCASH_APP_UTILS_CFLAGS-@:${GNUCASH_APP_UTILS_CFLAGS}:g' \
|
2001-09-18 08:38:21 +00:00
|
|
|
-e 's:@-GNUCASH_APP_UTILS_LIBS-@:${GNUCASH_APP_UTILS_LIBS}:g' \
|
|
|
|
|
-e 's:@-GNUCASH_NETWORK_UTILS_CFLAGS-@:${GNUCASH_NETWORK_UTILS_CFLAGS}:g' \
|
|
|
|
|
-e 's:@-GNUCASH_NETWORK_UTILS_LIBS-@:${GNUCASH_NETWORK_UTILS_LIBS}:g' \
|
|
|
|
|
-e 's:@-GNUCASH_GNOME_UTILS_CFLAGS-@:${GNUCASH_GNOME_UTILS_CFLAGS}:g' \
|
2001-09-19 08:36:14 +00:00
|
|
|
-e 's:@-GNUCASH_GNOME_UTILS_LIBS-@:${GNUCASH_GNOME_UTILS_LIBS}:g' \
|
|
|
|
|
-e 's:@-GNUCASH_REGISTER_CORE_CFLAGS-@:${GNUCASH_REGISTER_CORE_CFLAGS}:g' \
|
|
|
|
|
-e 's:@-GNUCASH_REGISTER_CORE_LIBS-@:${GNUCASH_REGISTER_CORE_LIBS}:g'
|
2001-09-06 09:05:38 +00:00
|
|
|
chmod +x $@.tmp
|
|
|
|
|
mv $@.tmp $@
|
|
|
|
|
|
2001-08-17 08:28:31 +00:00
|
|
|
|
2001-10-03 07:08:31 +00:00
|
|
|
DISTCLEANFILES = \
|
2001-08-17 16:56:31 +00:00
|
|
|
cscope.files cscope.out etags.files make-gnucash-patch
|
2000-06-02 09:00:31 +00:00
|
|
|
|
2000-12-11 21:26:58 +00:00
|
|
|
cscope.files:
|
|
|
|
|
find . -name '*.[ch]' > cscope.files
|
2000-06-02 09:00:31 +00:00
|
|
|
|
2000-12-11 21:26:58 +00:00
|
|
|
cscope.out: cscope.files
|
|
|
|
|
cscope -b
|
|
|
|
|
|
2001-02-25 00:42:44 +00:00
|
|
|
if GNC_TAGS_FILE
|
|
|
|
|
|
2001-08-17 16:56:31 +00:00
|
|
|
etags.files: $(shell find . -type d)
|
2001-05-26 20:15:23 +00:00
|
|
|
find . -path './debian' -prune -o -name '*.[ch]' -print -o -name '*.scm' -print | sort > etags.files.tmp
|
2001-02-25 00:42:44 +00:00
|
|
|
@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
|
2001-08-17 16:56:31 +00:00
|
|
|
|
|
|
|
|
TAGS: etags.files $(shell cat etags.files)
|
|
|
|
|
etags `cat etags.files`
|
2001-02-25 00:42:44 +00:00
|
|
|
|
2001-05-15 15:52:59 +00:00
|
|
|
else
|
|
|
|
|
|
|
|
|
|
TAGS:
|
|
|
|
|
@echo "You must ./configure with --enable-etags to use TAGS."
|
2000-12-11 21:26:58 +00:00
|
|
|
|
2001-02-25 00:42:44 +00:00
|
|
|
endif
|
2001-05-15 15:52:59 +00:00
|
|
|
|
|
|
|
|
.PHONY: TAGS
|