httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@worldgate.com>
Subject [PATCH] fix buildmark
Date Wed, 12 Nov 1997 22:29:58 GMT
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