httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: [PATCH] fix buildmark
Date Wed, 12 Nov 1997 23:34:03 GMT
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...
> 
> 

Mime
View raw message