Scott Kostyshak wrote:
> On Fri, Feb 22, 2013 at 5:41 PM, Pavel Sanda <sa...@lyx.org> wrote:
> > commit 215042720c04e430807b044ef89ff87c3e393ba9
> > Author: Pavel Sanda <sa...@lyx.org>
> > Date:   Fri Feb 22 14:33:56 2013 -0800
> >
> >     Fix broken installation (typo, already fixed in 1e44661fa04896036d9).
> >
> >     https://bugs.gentoo.org/show_bug.cgi?id=458692
> >
> > diff --git a/lib/Makefile.am b/lib/Makefile.am
> > index 423fa61..f00fa73 100644
> > --- a/lib/Makefile.am
> > +++ b/lib/Makefile.am
> > @@ -1635,6 +1635,6 @@ dist_ui_DATA = \
> >
> >  install-data-hook:
> >         $(CHMOD) 755 $(DESTDIR)$(pkgdatadir)/configure.py
> > -       for i in $(scriptdir)/*.py ; do \
> > +       for i in $(scriptsdir)/*.py ; do \
> >                 $(CHMOD) 755 $(DESTDIR)$(pkgdatadir)/$$i; \
> >         done
> 
> In bash, if "set -u" is put at the top of a script, unbound variables
> cause an error. Is there something like this that could be put in
> Makefile.am? Or can an option be specified when calling Makefile.am?
> If so, is there any reason not to do this?
> 
> I have the same question for CMake. I remember that there was a
> similar variable typo at some point.


a-ou, it actually doesn't work in working environment when you fix the typo; no 
time
to inspect more, so i'll revert.

make[4]: Entering directory 
`/var/tmp/portage/app-office/lyx-2.0.98/work/var/tmp/portage/app-office/lyx-2
.0.98/work/lyx-2.0.98/lib'
chmod 755 
/var/tmp/portage/app-office/lyx-2.0.98/image//usr/share/lyx/configure.py
for i in /usr/share/lyx/scripts/*.py ; do \
chmod 755 /var/tmp/portage/app-office/lyx-2.0.98/image//usr/share/lyx/$i; \
done
chmod: cannot access 
'/var/tmp/portage/app-office/lyx-2.0.98/image//usr/share/lyx//usr/share/lyx/scripts/
clean_dvi.py': No such file or directory

(no worry worry about "98", just temporary build)

Richard, sorry to mess-up with the branch.

Pavel

Reply via email to