2000-06-02 09:00:31 +00:00
|
|
|
|
2003-09-26 13:18:10 +00:00
|
|
|
SUBDIRS = intl m4 macros doc lib src intl-scm po rpm accounts
|
2000-06-02 09:00:31 +00:00
|
|
|
|
|
|
|
|
docdir = ${GNC_DOC_INSTALL_DIR}
|
|
|
|
|
|
2002-11-30 08:59:19 +00:00
|
|
|
GNC_CTAGS_FILE = @GNC_CTAGS_FILE@
|
|
|
|
|
GNC_ETAGS_FILE = @GNC_ETAGS_FILE@
|
|
|
|
|
|
2003-01-16 00:48:17 +00:00
|
|
|
if GNC_FALSE
|
|
|
|
|
noinst_PROGRAMS = dummy
|
|
|
|
|
|
|
|
|
|
dummy_SOURCES = dummy.c
|
|
|
|
|
endif
|
|
|
|
|
|
2002-11-30 08:59:19 +00:00
|
|
|
noinst_DATA = make-gnucash-patch make-gnucash-potfiles
|
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.
|
|
|
|
|
|
2002-05-17 00:20:06 +00:00
|
|
|
EXTRA_DIST = config.rpath \
|
2000-06-05 05:51:39 +00:00
|
|
|
.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 \
|
2001-10-28 00:44:26 +00:00
|
|
|
po/glossary/da.po \
|
2001-08-19 22:47:15 +00:00
|
|
|
po/glossary/de.po \
|
2001-10-28 00:44:26 +00:00
|
|
|
po/glossary/es.po \
|
2001-12-03 07:55:56 +00:00
|
|
|
po/glossary/es_NI-policy.txt \
|
2001-08-19 22:47:15 +00:00
|
|
|
po/glossary/gnc-glossary.txt \
|
2001-09-17 09:59:23 +00:00
|
|
|
po/glossary/txt-to-pot.sh \
|
2001-10-28 00:44:26 +00:00
|
|
|
intltool-extract.in \
|
|
|
|
|
intltool-merge.in \
|
2003-01-16 00:48:17 +00:00
|
|
|
intltool-update.in \
|
|
|
|
|
Makefile.DEPS \
|
|
|
|
|
distdep-automake1.4-hack
|
2001-09-06 09:05:38 +00:00
|
|
|
|
|
|
|
|
bin_SCRIPTS = 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
|
2002-02-28 08:31:32 +00:00
|
|
|
sed < $< > $@.tmp \
|
2000-06-02 09:00:31 +00:00
|
|
|
-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
|
2002-02-28 08:31:32 +00:00
|
|
|
sed < $< > $@.tmp \
|
2001-08-17 08:28:31 +00:00
|
|
|
-e 's:@-PERL-@:${PERL}:g'
|
|
|
|
|
chmod +x $@.tmp
|
|
|
|
|
mv $@.tmp $@
|
|
|
|
|
|
2001-10-03 07:08:31 +00:00
|
|
|
DISTCLEANFILES = \
|
2002-02-28 08:31:32 +00:00
|
|
|
intltool-extract intltool-update intltool-merge\
|
2003-01-16 00:48:17 +00:00
|
|
|
cscope.files cscope.out etags.files make-gnucash-patch \
|
|
|
|
|
make-gnucash-potfiles po/.intltool-merge-cache
|
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
|
|
|
|
|
|
2002-11-30 08:59:19 +00:00
|
|
|
if GNC_ETAGS_FILE
|
|
|
|
|
|
|
|
|
|
etags:
|
|
|
|
|
# make sure etags.files is up to date.
|
|
|
|
|
${MAKE} -f Makefile.TAGS etags.files
|
|
|
|
|
# now use the contents of etags.files to re-make TAGS if needed.
|
|
|
|
|
${MAKE} -f Makefile.TAGS etags
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
|
|
etags:
|
|
|
|
|
@echo "You must ./configure with --enable-etags to use ctags."
|
|
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
if GNC_CTAGS_FILE
|
2001-02-25 00:42:44 +00:00
|
|
|
|
2002-11-30 08:59:19 +00:00
|
|
|
ctags:
|
2001-12-04 22:41:38 +00:00
|
|
|
# make sure etags.files is up to date.
|
|
|
|
|
${MAKE} -f Makefile.TAGS etags.files
|
|
|
|
|
# now use the contents of etags.files to re-make TAGS if needed.
|
2002-11-30 08:59:19 +00:00
|
|
|
${MAKE} -f Makefile.TAGS ctags
|
2001-02-25 00:42:44 +00:00
|
|
|
|
2001-05-15 15:52:59 +00:00
|
|
|
else
|
|
|
|
|
|
2002-11-30 08:59:19 +00:00
|
|
|
ctags:
|
|
|
|
|
@echo "You must ./configure with --enable-ctags to use ctags."
|
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
|
|
|
|
2002-11-30 08:59:19 +00:00
|
|
|
.PHONY: etags ctags
|
2002-05-15 04:48:36 +00:00
|
|
|
|
|
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
2002-11-27 22:49:10 +00:00
|
|
|
|
|
|
|
|
.PHONY: doc
|
|
|
|
|
doc:
|
|
|
|
|
$(MAKE) -C src/doc doc
|
2003-01-06 07:15:30 +00:00
|
|
|
|
2003-01-16 00:48:17 +00:00
|
|
|
.PHONY: distdep
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# All references to distdep-automake1.4-hack can be removed when
|
|
|
|
|
# Automake 1.4 is no longer used to compile gnucash. The files
|
|
|
|
|
# Makefile.DEPS and src/bin/strsub.c are also specific to AM 1.4 and
|
|
|
|
|
# can be removed at the same time. See the commit at 2003-01-15 00:45
|
|
|
|
|
# UTC for more information.
|
|
|
|
|
#
|
|
|
|
|
distdep-automake1.4-hack: distdep
|
|
|
|
|
: > distdep-automake1.4-hack
|
|
|
|
|
|
|
|
|
|
distdep:
|
|
|
|
|
test x"$(DEP_FILES)" = x || \
|
|
|
|
|
$(MAKE) $(AM_MAKE_FLAGS) -f ${top_srcdir}/Makefile.DEPS \
|
|
|
|
|
all-distdep-recursive
|
|
|
|
|
|
|
|
|
|
dist-hook:
|
|
|
|
|
rm -f $(distdir)/distdep-automake1.4-hack
|
|
|
|
|
rm -f distdep-automake1.4-hack
|
|
|
|
|
|
2003-01-21 04:40:19 +00:00
|
|
|
distcleancheck_listfiles = \
|
|
|
|
|
find -type f -exec sh -c 'test -f ${srcdir}/{} || echo {}' ';'
|
|
|
|
|
|
|
|
|
|
# ack this is stupid
|
|
|
|
|
distcheck-hook:
|
|
|
|
|
: > "$(distdir)/=build/distcleancheck1.5-is-stupid"
|
|
|
|
|
|
|
|
|
|
distclean-local:
|
|
|
|
|
-test -f distcleancheck1.5-is-stupid \
|
|
|
|
|
&& rm -f distcleancheck1.5-is-stupid \
|
|
|
|
|
&& find . -type f -exec sh -c 'test -f ${srcdir}/{} && rm -f {}' ';'
|
|
|
|
|
|
2003-01-06 07:15:30 +00:00
|
|
|
libtool: $(LIBTOOL_DEPS)
|
|
|
|
|
$(SHELL) ./config.status --recheck
|