Skip to content

Commit

Permalink
build-sys: Include autogen.sh in the tarball and use for RPM building
Browse files Browse the repository at this point in the history
Include the autogen.sh in the tarball and use it for building
the RPM.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
  • Loading branch information
stefanberger committed Aug 8, 2018
1 parent b899d10 commit 77b11b7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 2 additions & 1 deletion Makefile.am
Expand Up @@ -35,7 +35,8 @@ EXTRA_DIST = \
LICENSE \
README \
bootstrap.sh \
libtpms.pc.in
libtpms.pc.in \
autogen.sh

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libtpms.pc
Expand Down
3 changes: 1 addition & 2 deletions dist/libtpms.spec
Expand Up @@ -82,11 +82,10 @@ Libtpms header files and documentation.
%define _enable_debug --enable-debug
%endif

./bootstrap.sh
%if %{build_type} == debug
CFLAGS=-O0
%endif
%configure \
./autogen.sh \
--with-tpm2 \
--disable-static \
--prefix=/usr \
Expand Down
3 changes: 1 addition & 2 deletions dist/libtpms.spec.in
Expand Up @@ -82,11 +82,10 @@ Libtpms header files and documentation.
%define _enable_debug --enable-debug
%endif

./bootstrap.sh
%if %{build_type} == debug
CFLAGS=-O0
%endif
%configure \
./autogen.sh \
--with-tpm2 \
--disable-static \
--prefix=/usr \
Expand Down

0 comments on commit 77b11b7

Please sign in to comment.