From 3af9d90f4a3d9a1fdae8f84f7ad29c480a83c947 Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Sun, 11 Oct 1998 11:21:09 +0000 Subject: [PATCH] Added `features.def'. Added `--features-def-file' parameter to get 1998-10-11 Martin Baulig * Makefile.am (confexec_DATA): Added `features.def'. * libgtop-config.in: Added `--features-def-file' parameter to get pathname of installed `features.def' file. --- ChangeLog | 4 ++++ Makefile.am | 2 +- libgtop-config.in | 7 ++++++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 569c18be..63d33c41 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 1998-10-11 Martin Baulig + * Makefile.am (confexec_DATA): Added `features.def'. + * libgtop-config.in: Added `--features-def-file' parameter + to get pathname of installed `features.def' file. + * perl: Removed everything in this subdirectory. This was only experimental. The real perl bindings for LibGTop are in the libgtop-bindings module. diff --git a/Makefile.am b/Makefile.am index 6555bb62..452892d9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -29,7 +29,7 @@ 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 +confexec_DATA = $(top_builddir)/libgtopConf.sh features.def bin_SCRIPTS = $(top_builddir)/libgtop-config diff --git a/libgtop-config.in b/libgtop-config.in index 47e9a6bf..a4902acd 100644 --- a/libgtop-config.in +++ b/libgtop-config.in @@ -1,11 +1,13 @@ #!/bin/sh usage="\ - Usage: libgtop-config [--version] [--config]" + Usage: libgtop-config [--version] [--config] [--features-def-file]" config_file="@LIBGTOP_LIBDIR@/libgtopConf.sh" . $config_file +features_def_file="@LIBGTOP_LIBDIR@/features.def" + if test $# -eq 0; then echo "${usage}" 1>&2 exit 1 @@ -24,6 +26,9 @@ while test $# -gt 0; do --config) echo $config_file ;; + --features-def-file) + echo $features_def_file + ;; *) echo "${usage}" 1>&2 exit 1