[Qt-interest] Keeping up-to-date with git
Stephen Chu
stephen at ju-ju.com
Thu May 27 17:29:42 CEST 2010
In article <201005271622.01910.thiago at kde.org>,
Thiago Macieira <thiago at kde.org> wrote:
> Em Quinta-feira 27 Maio 2010, às 16:12:12, Sean Harmer escreveu:
> > On Thursday 27 May 2010 15:03:09 Stephen Chu wrote:
> > > So I end up doing a git pull, clean and rebuild every day. I want to put
> > > the steps into a OS X shell script and run it every night. But how do I
> > > skip the step where configure asks for the type of license? I added
> > > -opensource option but it still waits for a yes/no input.
> >
> > You also need to add the -confirm-license option to the configure line.
>
> Note that the configure script creates a "config.status" script that
> basically
> re-runs configure with the same options you passed it, plus the
> -confirm-license
> one, so it's automatic.
>
> I only run "configure" when I'm setting up a new Qt build. Otherwise, it's
> always ./config.status.
>
> Note that doing a "git clean -x -d -f" will erase this file, though.
>
> Note also that doing a full cleanup is seldom necessary. I can't remember the
> last time I needed to do that. However, it is a good way to get unstuck if
> you
> can't figure out what the issue is.
>
> Finally, note that missing header files during compilation are usually not
> errors in the Qt source code. You probably need to re-run configure
> (technically, rerun the syncqt script to update the include dir).
Thanks. So will this revised script work?
----
#!/bin/sh
cd /qt
git pull
make confclean
./config.status
make
sudo make -j1 install
----
--
Stephen Chu
More information about the Qt-interest-old
mailing list