mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
* m4/po.m4: remove POTFILES.in if it is empty, otherwise it is rebuilt
only when a Makefile.am is modified. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25278 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5801eef4bc
commit
9d162bf188
7
m4/po.m4
7
m4/po.m4
@ -112,6 +112,13 @@ changequote([,])dnl
|
||||
test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
|
||||
cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
|
||||
POMAKEFILEDEPS="POTFILES.in"
|
||||
# Remove POTFILES.in if it is empty, such that it can be
|
||||
# correctly rebuilt later.
|
||||
if test -s "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
|
||||
: ;
|
||||
else
|
||||
rm -f "$ac_given_srcdir/$ac_dir/POTFILES.in"
|
||||
fi
|
||||
# ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
|
||||
# on $ac_dir but don't depend on user-specified configuration
|
||||
# parameters.
|
||||
|
Loading…
Reference in New Issue
Block a user