diff --git a/ChangeLog b/ChangeLog index 64f508f2..e8e4aaf7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +1998-10-12 Martin Baulig + + * 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 * configure.in: Don't create `guile/Makefile'. diff --git a/Makefile.am b/Makefile.am index b0df0484..e4ef7194 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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@ $< $@ + diff --git a/libgtop-config.in b/libgtop-config.in index a4902acd..cbd3055a 100644 --- a/libgtop-config.in +++ b/libgtop-config.in @@ -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 diff --git a/libgtop.spec b/libgtop.spec index 38ad6db4..fdb760f1 100644 --- a/libgtop.spec +++ b/libgtop.spec @@ -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