[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: proposed gnulib module 'configmake', plus use by 'localcharset'
From: |
Paul Eggert |
Subject: |
Re: proposed gnulib module 'configmake', plus use by 'localcharset' |
Date: |
Fri, 25 Aug 2006 16:16:22 -0700 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
Ralf Wildenhues <address@hidden> writes:
> I like the idea. It could be added to `(autoconf.info)Defining
> Directories'.
Yes, that sounds like a good idea.
> I'd either add a dependency to localcharset.lo as well, or, preferably
> replace the above with
> BUILT_SOURCES += configmake.h
Thanks, I did the latter, and installed this. I'll switch coreutils
to use this module next.
2006-08-25 Paul Eggert <address@hidden>
New configmake module, so that "make" output needn't be cluttered
by fluff like '-DLIBDIR=\"/usr/local/lib\"'.
* MODULES.html.sh (Support for building libraries and executables):
Add configmake.
* modules/configmake: New file.
--- MODULES.html.sh 24 Aug 2006 20:15:12 -0000 1.141
+++ MODULES.html.sh 25 Aug 2006 23:13:53 -0000
@@ -2099,6 +2099,7 @@ func_all_modules ()
func_echo "$element"
func_begin_table
+ func_module configmake
func_module dummy
func_module elisp-comp
func_module ldd
--- /dev/null 2005-09-24 22:00:15.000000000 -0700
+++ modules/configmake 2006-08-25 15:43:13.000000000 -0700
@@ -0,0 +1,49 @@
+Description:
+Variables set by "configure" or "make".
+
+Files:
+
+Depends-on:
+
+configure.ac:
+
+Makefile.am:
+# Listed in the same order as the GNU makefile conventions.
+configmake.h:
+ ( \
+ echo '#define CONFIGMAKE_PREFIX "$(prefix)"'; \
+ echo '#define CONFIGMAKE_EXEC_PREFIX "$(exec_prefix)"'; \
+ echo '#define CONFIGMAKE_BINDIR "$(bindir)"'; \
+ echo '#define CONFIGMAKE_SBINDIR "$(sbindir)"'; \
+ echo '#define CONFIGMAKE_LIBEXECDIR "$(libexecdir)"'; \
+ echo '#define CONFIGMAKE_DATAROOTDIR "$(datarootdir)"'; \
+ echo '#define CONFIGMAKE_DATADIR "$(datadir)"'; \
+ echo '#define CONFIGMAKE_SYSCONFDIR "$(sysconfdir)"'; \
+ echo '#define CONFIGMAKE_SHAREDSTATEDIR "$(sharedstatedir)"'; \
+ echo '#define CONFIGMAKE_LOCALSTATEDIR "$(localstatedir)"'; \
+ echo '#define CONFIGMAKE_INCLUDEDIR "$(includedir)"'; \
+ echo '#define CONFIGMAKE_OLDINCLUDEDIR "$(oldincludedir)"'; \
+ echo '#define CONFIGMAKE_DOCDIR "$(docdir)"'; \
+ echo '#define CONFIGMAKE_INFODIR "$(infodir)"'; \
+ echo '#define CONFIGMAKE_HTMLDIR "$(htmldir)"'; \
+ echo '#define CONFIGMAKE_DVIDIR "$(dvidir)"'; \
+ echo '#define CONFIGMAKE_PDFDIR "$(pdfdir)"'; \
+ echo '#define CONFIGMAKE_PSDIR "$(psdir)"'; \
+ echo '#define CONFIGMAKE_LIBDIR "$(libdir)"'; \
+ echo '#define CONFIGMAKE_LISPDIR "$(lispdir)"'; \
+ echo '#define CONFIGMAKE_LOCALEDIR "$(localedir)"'; \
+ echo '#define CONFIGMAKE_MANDIR "$(mandir)"'; \
+ echo '#define CONFIGMAKE_MANEXT "$(manext)"'; \
+ :) | sed '/""/d' >address@hidden
+ mv address@hidden $@
+BUILT_SOURCES += configmake.h
+CLEANFILES += configmake.h configmake.h-t
+
+Include:
+"configmake.h"
+
+License:
+LGPL
+
+Maintainer:
+all
- proposed gnulib module 'configmake', plus use by 'localcharset', Paul Eggert, 2006/08/25
- Re: proposed gnulib module 'configmake', plus use by 'localcharset', Ralf Wildenhues, 2006/08/25
- Re: proposed gnulib module 'configmake', plus use by 'localcharset',
Paul Eggert <=
- Re: [bug-gnulib] Re: proposed gnulib module 'configmake', plus use by 'localcharset', Bruno Haible, 2006/08/29
- Re: [bug-gnulib] Re: proposed gnulib module 'configmake', plus use by 'localcharset', Paul Eggert, 2006/08/29
- Re: [bug-gnulib] Re: proposed gnulib module 'configmake', plus use by 'localcharset', Bruno Haible, 2006/08/29
- Re: proposed gnulib module 'configmake', plus use by 'localcharset', Jim Meyering, 2006/08/29
- Re: proposed gnulib module 'configmake', plus use by 'localcharset', Ralf Wildenhues, 2006/08/29
- Re: proposed gnulib module 'configmake', plus use by 'localcharset', Jim Meyering, 2006/08/29
- Re: proposed gnulib module 'configmake', plus use by 'localcharset', Ralf Wildenhues, 2006/08/29
Re: compilation flags per object file, Bruno Haible, 2006/08/25