[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ltib] conditional configure in build section of spec file
From: |
Aaron Wegner |
Subject: |
[Ltib] conditional configure in build section of spec file |
Date: |
Thu, 28 Oct 2010 16:25:41 -0400 |
User-agent: |
SquirrelMail/1.4.20 |
Hi Stuart. When I rebuild my packages by typing ./ltib and my package has
changed it always runs configure although maybe I only wanted to recompile
after changing a source file. I added some logic to my spec files to
avoid this, but I don't know if that is appropriate. I looked through a
bunch of the other spec files in the LTIB for an example but they mostly
configure and make as far as I can see. Should I instead be in the LTIB
shell mode and type make? Does it make sense to put something like the
following in a spec file?
Thanks,
Aaron
%Build
if ! [ -f config.status -a -f config.h -a -f libtool -a -f config.log -a
-f Makefile ]; then
./configure --prefix=%{_prefix} --bindir=/bin --host=$CFGHOST
--build=%{_build}
fi
make
- [Ltib] conditional configure in build section of spec file,
Aaron Wegner <=