Added features.def'. Added --features-def-file' parameter to get
1998-10-11 Martin Baulig <martin@home-of-linux.org> * Makefile.am (confexec_DATA): Added `features.def'. * libgtop-config.in: Added `--features-def-file' parameter to get pathname of installed `features.def' file.
This commit is contained in:
committed by
Martin Baulig
parent
70bbae9b75
commit
3af9d90f4a
@@ -1,5 +1,9 @@
|
||||
1998-10-11 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
* 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.
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user