Install feature.def' as libgtop-features.def'. Added

1998-10-12  Martin Baulig  <martin@home-of-linux.org>

	* Makefile.am (confexec_DATA): Install `feature.def' as
	`libgtop-features.def'.
	* libgtop.spec: Added `%{prefix}/lib/*.def' to the file list.
This commit is contained in:
Martin Baulig
1998-10-11 22:31:11 +00:00
committed by Martin Baulig
parent f14684a685
commit 492c7788d0
4 changed files with 16 additions and 5 deletions

View File

@@ -1,3 +1,9 @@
1998-10-12 Martin Baulig <martin@home-of-linux.org>
* Makefile.am (confexec_DATA): Install `feature.def' as
`libgtop-features.def'.
* libgtop.spec: Added `%{prefix}/lib/*.def' to the file list.
1998-10-11 Martin Baulig <martin@home-of-linux.org>
* configure.in: Don't create `guile/Makefile'.

View File

@@ -18,8 +18,9 @@ release:
## Put `exec' in the name because this should be installed by
## `install-exec', not `install-data'.
confexecdir=$(libdir)
confexec_DATA = $(top_builddir)/libgtopConf.sh features.def
confexecdir = $(libdir)
confexec_DATA = $(top_builddir)/libgtopConf.sh \
$(top_builddir)/libgtop-features.def
bin_SCRIPTS = $(top_builddir)/libgtop-config
@@ -68,3 +69,6 @@ libgtop-config: libgtop-config.in Makefile
&& mv libgtop-config.tmp libgtop-config && \
chmod 755 libgtop-config
libgtop-features.def: features.def
@LN_S@ $< $@

View File

@@ -6,7 +6,7 @@ usage="\
config_file="@LIBGTOP_LIBDIR@/libgtopConf.sh"
. $config_file
features_def_file="@LIBGTOP_LIBDIR@/features.def"
features_def_file="@LIBGTOP_LIBDIR@/libgtop-features.def"
if test $# -eq 0; then
echo "${usage}" 1>&2

View File

@@ -58,9 +58,9 @@ Examples for LibGTop.
%build
# Needed for snapshot releases.
if [ ! -f configure ]; then
CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%prefix --without-linux-table --with-libgtop-inodedb --with-libgtop-examples
CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%prefix --without-linux-table --with-libgtop-inodedb --with-libgtop-examples --with-libgtop-guile
else
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix --without-linux-table --with-libgtop-inodedb --with-libgtop-examples
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix --without-linux-table --with-libgtop-inodedb --with-libgtop-examples --with-libgtop-guile
fi
if [ "$SMP" != "" ]; then
@@ -110,6 +110,7 @@ rm -fr $RPM_BUILD_ROOT/%{prefix}/include/libgtop
%{prefix}/lib/lib*.so
%{prefix}/lib/*a
%{prefix}/lib/*.sh
%{prefix}/lib/*.def
%{prefix}/include/*
%files examples