> Would be good to be able to use it from any directory. You can use the
> configure script to provide you the top_srcdir directory and fill it in a
> srcinfo-extractor.pl.in and generate srcinfo-extractor.pl
>
> Look at prmgt/get-test-data.sh.in for an example.
>
Well, I did some more changes and the script is 1 line now. :-)
Much better :)
The only minor issue is that the generated script by configure
doesn't have execution permission so you have to call it like "perl
prmgt/srcinfo-extractor.pl". Can we tell configure to chmod +x a
file ?
We could do it in prmgt/Makefile.am.
Here is the patch:
Applied in the trunk.
Many thanks.