Quoting Neil Williams <[EMAIL PROTECTED]>:

No problem - I'm just not sure how to achieve it.

If
${top_srcdir}/Makefile.am is a symlink, can we follow that symlink and
run from there?

Do you mean use cd to go to ${top_srcdir} first?
Or the set the redirect to go to ${top_srcdir}/po/POTFILES.in ?

I meant something like this:

 s=${top_srcdir}
 if [ -h $s/Makefile.am ] ; then
   d=`readlink $(top_srcdir)/Makefile.am`
   s="${top_srcdir}/`dirname $d`"
 fi
 mpo=`pwd`/${top_srcdir}/make-gnucash-potfiles
 (cd $s; $mpo) > po/POTFILES.in

This would also allow this process to work in an
"lndir tree".

I did try that at this end and it appeared to work OK - unchanged.

Did you have dangling symlinks in the lndir tree?   Another option
would be a make target that would clean out dangling symlinks.

-derek

--
      Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
      Member, MIT Student Information Processing Board  (SIPB)
      URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
      [EMAIL PROTECTED]                        PGP key available

_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to