'gtopConf.sh' has been renamed to 'libgtopConf.sh'; variables in this
* Makefile.am: 'gtopConf.sh' has been renamed to 'libgtopConf.sh'; variables in this script have changed.
This commit is contained in:
42
Makefile.am
42
Makefile.am
@@ -12,7 +12,7 @@ DIST_SUBDIRS = po intl support macros include sysdeps src lib examples
|
||||
|
||||
include_HEADERS = glibtop.h
|
||||
|
||||
EXTRA_DIST = copyright.txt gtopConf.sh.in
|
||||
EXTRA_DIST = copyright.txt libgtopConf.sh.in
|
||||
|
||||
release:
|
||||
$(MAKE) dist distdir=$(PACKAGE)$(VERSION)
|
||||
@@ -20,7 +20,7 @@ release:
|
||||
## Put `exec' in the name because this should be installed by
|
||||
## `install-exec', not `install-data'.
|
||||
confexecdir=$(libdir)
|
||||
confexec_DATA = $(top_builddir)/gtopConf.sh
|
||||
confexec_DATA = $(top_builddir)/libgtopConf.sh
|
||||
|
||||
## to automatically rebuild aclocal.m4 if any of the macros in
|
||||
## `macros/' change
|
||||
@@ -28,26 +28,26 @@ confexec_DATA = $(top_builddir)/gtopConf.sh
|
||||
@MAINT@macros/macros.dep: macros/Makefile.am
|
||||
@MAINT@ cd macros && $(MAKE) macros.dep
|
||||
|
||||
## We create gtopConf.sh here and not from configure because we want
|
||||
## We create libgtopConf.sh here and not from configure because we want
|
||||
## to get the paths expanded correctly. Macros like srcdir are given
|
||||
## the value NONE in configure if the user doesn't specify them (this
|
||||
## is an autoconf feature, not a bug).
|
||||
gtopConf.sh: gtopConf.sh.in Makefile
|
||||
libgtopConf.sh: libgtopConf.sh.in Makefile
|
||||
## Use sed and then mv to avoid problems if the user interrupts.
|
||||
sed -e 's,\@GTOP_LIBDIR\@,$(libdir),g' \
|
||||
-e 's,\@GTOP_INCLUDEDIR\@,$(includedir),g' \
|
||||
-e 's,\@GTOP_LIBS\@,$(GTOP_LIBS),g' \
|
||||
-e 's,\@GTOP_INCS\@,$(GTOP_INCS),g' \
|
||||
-e 's,\@GTOP_GUILE_LIBS\@,$(GTOP_GUILE_LIBS),g' \
|
||||
-e 's,\@GTOP_GUILE_INCS\@,$(GTOP_GUILE_INCS),g' \
|
||||
-e 's,\@GTOP_BINDIR\@,$(GTOP_BINDIR),g' \
|
||||
-e 's,\@GTOP_SERVER\@,$(GTOP_SERVER),g' \
|
||||
-e 's,\@GTOP_SYSDEPS_DIR\@,$(sysdeps_dir),g' \
|
||||
-e 's,\@GTOP_NEED_SERVER\@,$(need_server),g' \
|
||||
-e 's,\@GTOP_USE_MACHINE_H\@,$(use_glibtop_machine_h),g' \
|
||||
-e 's,\@GTOP_GUILE_FOUND\@,$(gtop_guile_found),g' \
|
||||
-e 's,\@GTOP_WANT_NAMES\@,$(gtop_want_names),g' \
|
||||
-e 's,\@GTOP_WANT_GUILE_NAMES\@,$(gtop_want_guile_names),g' \
|
||||
-e 's,\@GTOP_WANT_EXAMPLES\@,$(gtop_want_examples),g' \
|
||||
< $(srcdir)/gtopConf.sh.in > gtopConf.tmp \
|
||||
&& mv gtopConf.tmp gtopConf.sh
|
||||
sed -e 's,\@LIBGTOP_LIBDIR\@,$(libdir),g' \
|
||||
-e 's,\@LIBGTOP_INCLUDEDIR\@,$(includedir),g' \
|
||||
-e 's,\@LIBGTOP_LIBS\@,$(LIBGTOP_LIBS),g' \
|
||||
-e 's,\@LIBGTOP_INCS\@,$(LIBGTOP_INCS),g' \
|
||||
-e 's,\@LIBGTOP_GUILE_LIBS\@,$(LIBGTOP_GUILE_LIBS),g' \
|
||||
-e 's,\@LIBGTOP_GUILE_INCS\@,$(LIBGTOP_GUILE_INCS),g' \
|
||||
-e 's,\@LIBGTOP_BINDIR\@,$(LIBGTOP_BINDIR),g' \
|
||||
-e 's,\@LIBGTOP_SERVER\@,$(LIBGTOP_SERVER),g' \
|
||||
-e 's,\@libgtop_sysdeps_dir\@,$(libgtop_sysdeps_dir),g' \
|
||||
-e 's,\@libgtop_need_server\@,$(libgtop_need_server),g' \
|
||||
-e 's,\@libgtop_use_machine_h\@,$(libgtop_use_machine_h),g' \
|
||||
-e 's,\@libgtop_guile_found\@,$(libgtop_guile_found),g' \
|
||||
-e 's,\@libgtop_want_names\@,$(libgtop_want_names),g' \
|
||||
-e 's,\@libgtop_want_guile_names\@,$(libgtop_want_guile_names),g' \
|
||||
-e 's,\@libgtop_want_examples\@,$(libgtop_want_examples),g' \
|
||||
< $(srcdir)/libgtopConf.sh.in > libgtopConf.tmp \
|
||||
&& mv libgtopConf.tmp libgtopConf.sh
|
||||
|
Reference in New Issue
Block a user