Add po/POTFILES.in to SVN so that l10n.gnome.org can download it directly.

Also, modify build rules so that POTFILES.in is no longer generated
automatically during make dist, but only on explicit "make pot", because
the build rule will now modify POTFILES.in in the srcdir and no longer
in the builddir.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16864 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming
2008-01-15 20:40:19 +00:00
parent a011326e55
commit e3f63d58f0
3 changed files with 463 additions and 9 deletions

View File

@@ -100,8 +100,7 @@ make-gnucash-potfiles: make-gnucash-potfiles.in Makefile
DISTCLEANFILES = \
intltool-extract intltool-update intltool-merge\
cscope.files cscope.out etags.files make-gnucash-patch \
make-gnucash-potfiles po/.intltool-merge-cache \
po/POTFILES.in
make-gnucash-potfiles po/.intltool-merge-cache
cscope.files:
find src lib -name '*.[ch]' > cscope.files
@@ -147,7 +146,7 @@ distcleancheck_listfiles = \
distuninstallcheck_listfiles = \
find . -type f -print | grep -v ./share/icons/hicolor/icon-theme.cache | grep -v ./share/info/dir
dist-hook: po/POTFILES.in
#dist-hook: po/POTFILES.in
distcheck-hook:
@e=''; \
@@ -178,10 +177,8 @@ pot: Makefile po/POTFILES.in
${MAKE} -C po $(PACKAGE).pot
BUILT_SOURCES = po/POTFILES.in
po/POTFILES.in: make-gnucash-potfiles .potfiles
./make-gnucash-potfiles > ./po/POTFILES.in
$(srcdir)/po/POTFILES.in: make-gnucash-potfiles .potfiles
./make-gnucash-potfiles > $(srcdir)/po/POTFILES.in
# Creation rules so that po/gnucash.pot can always be created for
# make dist.