mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
11
Makefile.am
11
Makefile.am
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user