You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Marc Slemko <ma...@worldgate.com> on 1997/11/12 23:29:58 UTC
[PATCH] fix buildmark
Index: Makefile.tmpl
===================================================================
RCS file: /export/home/cvs/apachen/src/Makefile.tmpl,v
retrieving revision 1.70
diff -u -r1.70 Makefile.tmpl
--- Makefile.tmpl 1997/11/05 12:48:13 1.70
+++ Makefile.tmpl 1997/11/12 22:29:02
@@ -27,8 +27,6 @@
@false
$(TARGET): subdirs modules.o
- rm -f buildmark.c
- echo 'const char SERVER_BUILT[] = "'`date`'";' > buildmark.c
$(CC) -c $(CFLAGS) buildmark.c
$(CC) $(CFLAGS) $(LDFLAGS) -o $(TARGET) buildmark.o $(OBJS)
$(REGLIB) $(LIBS)
and create a buildmark.c of:
#if defined(__DATE__) && defined(__TIME__)
const char SERVER_BUILT[] = __DATE__ " " __TIME__;
#else
const char SERVER_BUILT[] = "unknown";
#endif
The NT makefiles still would need to be modified to include buildmark.c,
but that should be easy...
Re: [PATCH] fix buildmark
Posted by Martin Kraemer <Ma...@mch.sni.de>.
On Wed, Nov 12, 1997 at 03:29:58PM -0700, Marc Slemko wrote:
> const char SERVER_BUILT[] = __DATE__ " " __TIME__;
+1. Much better in Makefile symmetry.
Martin
--
| S I E M E N S | <Ma...@mch.sni.de> | Siemens Nixdorf
| ------------- | Voice: +49-89-636-46021 | Informationssysteme AG
| N I X D O R F | FAX: +49-89-636-44994 | 81730 Munich, Germany
~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on request
Re: [PATCH] fix buildmark
Posted by Dean Gaudet <dg...@arctic.org>.
This looks fine to me ... +1.
Dean
On Wed, 12 Nov 1997, Marc Slemko wrote:
> Index: Makefile.tmpl
> ===================================================================
> RCS file: /export/home/cvs/apachen/src/Makefile.tmpl,v
> retrieving revision 1.70
> diff -u -r1.70 Makefile.tmpl
> --- Makefile.tmpl 1997/11/05 12:48:13 1.70
> +++ Makefile.tmpl 1997/11/12 22:29:02
> @@ -27,8 +27,6 @@
> @false
>
> $(TARGET): subdirs modules.o
> - rm -f buildmark.c
> - echo 'const char SERVER_BUILT[] = "'`date`'";' > buildmark.c
> $(CC) -c $(CFLAGS) buildmark.c
> $(CC) $(CFLAGS) $(LDFLAGS) -o $(TARGET) buildmark.o $(OBJS)
> $(REGLIB) $(LIBS)
>
>
> and create a buildmark.c of:
>
> #if defined(__DATE__) && defined(__TIME__)
> const char SERVER_BUILT[] = __DATE__ " " __TIME__;
> #else
> const char SERVER_BUILT[] = "unknown";
> #endif
>
> The NT makefiles still would need to be modified to include buildmark.c,
> but that should be easy...
>
>