Add autogen/configure to the build instructions.

Update the RPM sepcfile to run autogen/configure
This commit is contained in:
Ronnie Sahlberg
2010-12-05 14:53:02 +11:00
parent 4e5fb3a60b
commit 5e5a5a2c56
2 changed files with 11 additions and 0 deletions

View File

@@ -4,6 +4,8 @@ and executables under /usr/bin
From source:
============
$ ./autogen.sh
$ ./configure
$ make
# make install

View File

@@ -38,6 +38,15 @@ CC="gcc"
export CC
## always run autogen.sh
./autogen.sh
CFLAGS="$RPM_OPT_FLAGS $EXTRA -O0" ./configure \
--prefix=%{_prefix} \
--sysconfdir=%{_sysconfdir} \
--mandir=%{_mandir} \
--localstatedir="/var"
%install
# Clean up in case there is trash left from a previous build
rm -rf $RPM_BUILD_ROOT