create the initial po/POTFILE.in at autogen.sh time; I hope this does

not require gnu make, otherwise we'll fix it later. 

With this patch, we are (again) using pristine gettext sources, and we do not 
hook into the m4 code. 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25290 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2008-06-17 15:14:20 +00:00
parent 6ad1b1cd09
commit 96d9324f4d
3 changed files with 3 additions and 10 deletions

View File

@ -83,6 +83,9 @@ else
exit 1 exit 1
fi fi
echo "Building po/POTFILES.in..."
make -s -f po/Rules-lyx srcdir=po top_srcdir=.
echo echo
echo 'run "./configure ; make"' echo 'run "./configure ; make"'
echo echo

View File

@ -33,9 +33,6 @@ for file in config/install-sh config/mkinstalldirs ; do
chmod 755 ${srcdir}/${file} chmod 755 ${srcdir}/${file}
done done
### Provide a dummy POTFILES.in in po in order to mark it as a PO directory
test -f ${srcdir}/po/POTFILES.in || touch ${srcdir}/po/POTFILES.in
### Check for programs ### Check for programs
AC_PROG_MAKE_SET AC_PROG_MAKE_SET
AC_PROG_INSTALL AC_PROG_INSTALL

View File

@ -112,13 +112,6 @@ changequote([,])dnl
test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 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" 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" 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 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
# on $ac_dir but don't depend on user-specified configuration # on $ac_dir but don't depend on user-specified configuration
# parameters. # parameters.