mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-23 01:16:43 -06:00
36f92f2d23
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12928 57a11ea4-9604-0410-9ed3-97b8803252fd
62 lines
1.4 KiB
Makefile
62 lines
1.4 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 \
|
|
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
|