gnucash/doc/Makefile.am
David Hampton fcdf57037a Add the example gtkrc-2.0.gnucash file to the tarball.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13370 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-23 22:25:02 +00:00

63 lines
1.5 KiB
Makefile

SUBDIRS = examples
docdir = ${GNC_DOC_INSTALL_DIR}
doc_DATA = \
README.francais \
README.german \
guile-hackers.txt \
projects.html
man_MANS = \
gnc-prices.1 \
gnucash.1
tipsdir = $(GNC_SHAREDIR)
tips_DATA = tip_of_the_day.list
EXTRA_DIST = \
${doc_DATA} \
misc-notes.txt \
README.build-system \
README.francais \
README.german \
README.HBCI \
README.OFX \
README.translator.txt \
TRANSLATION_HOWTO \
build-aix.txt \
build-solaris.txt \
build-suse.txt \
generic_objects.txt \
gnome-hackers.txt \
gnc-prices.1.in \
gnucash.1.in \
gtkrc-2.0.gnucash \
tip_of_the_day.list.in
## 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.
gnc-prices.1: gnc-prices.1.in Makefile
rm -f $@.tmp
${SED} < $< > $@.tmp \
-e 's:@-VERSION-@:${VERSION}:g' \
-e 's:@-DATE-@:$(shell date +'%B %Y'):g'
chmod +x $@.tmp
mv $@.tmp $@
gnucash.1: gnucash.1.in Makefile
rm -f $@.tmp
${SED} < $< > $@.tmp \
-e 's:@-VERSION-@:${VERSION}:g' \
-e 's:@-DATE-@:$(shell date +'%B %Y'):g'
chmod +x $@.tmp
mv $@.tmp $@
tip_of_the_day.list: tip_of_the_day.list.in Makefile
gcc -E -P -x c -D'N_(x)=x' -o $@.tmp $<
cat -s $@.tmp | ${SED} -e 's/^ *\"\(.*\)\" *$$/\1/' > $@
rm -f $@.tmp
DISTCLEANFILES = gnc-prices.1 gnucash.1 tip_of_the_day.list