pier 02/05/14 15:37:15
Modified: webapp Makefile.in configure.in
webapp/support wa_version.m4
Removed: webapp DETAILS.txt.in
Log:
Generate DETAILS.txt ONLY at the end of the build.
Revision Changes Path
1.36 +19 -2 jakarta-tomcat-connectors/webapp/Makefile.in
Index: Makefile.in
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/webapp/Makefile.in,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- Makefile.in 14 May 2002 22:06:20 -0000 1.35
+++ Makefile.in 14 May 2002 22:37:15 -0000 1.36
@@ -56,7 +56,7 @@
# ========================================================================= #
# @author Pier Fumagalli <mailto:[EMAIL PROTECTED]>
-# @version $Id: Makefile.in,v 1.35 2002/05/14 22:06:20 pier Exp $
+# @version $Id: Makefile.in,v 1.36 2002/05/14 22:37:15 pier Exp $
include @TGT_DIR@/Makedefs
@@ -73,7 +73,11 @@
rm -f DETAILS.txt
rm -fr $(DST_DIR)
-build: $(OBJ_DIR) @EXTRA_BUILD@ lib-build $(MODULE)-build
+build: $(OBJ_DIR) @EXTRA_BUILD@ lib-build $(MODULE)-build $(BLD_DIR)/DETAILS.txt
+ @echo ""
+ @cat $(BLD_DIR)/DETAILS.txt
+ @echo ""
+ @echo All done...
extra-clean: @EXTRA_CLEAN@ clean
@@ -163,3 +167,16 @@
$(DST_DIR):
@if test ! -d "$(DST_DIR)" ; then mkdir $(DST_DIR) ; fi
+
+# ========================================================================= #
+# Our compilation details file #
+# ========================================================================= #
+$(BLD_DIR)/DETAILS.txt: $(BLD_DIR)
+ @echo "Storing build details" ; { \
+ echo "Coonfiguration details:" ; \
+ echo "" ; \
+ echo "module version: $(WEBAPP_VERSION)" ; \
+ echo "httpd version: $(APACHE_VERSION)" ; \
+ echo "host machine/os: $(HOST)" ; \
+ echo "cration date: $(DATE)" ; \
+ } > $@
1.62 +1 -2 jakarta-tomcat-connectors/webapp/configure.in
Index: configure.in
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/webapp/configure.in,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -r1.61 -r1.62
--- configure.in 14 May 2002 21:50:48 -0000 1.61
+++ configure.in 14 May 2002 22:37:15 -0000 1.62
@@ -57,7 +57,7 @@
dnl --------------------------------------------------------------------------
dnl Author Pier Fumagalli <mailto:[EMAIL PROTECTED]>
-dnl Version $Id: configure.in,v 1.61 2002/05/14 21:50:48 pier Exp $
+dnl Version $Id: configure.in,v 1.62 2002/05/14 22:37:15 pier Exp $
dnl
dnl NOTE: close all functions with ]) on the same line otherwise M4 will spit
dnl out the last argument of the function with an extra newline.
@@ -474,6 +474,5 @@
Makefile
lib/Makefile
${MODULE}/Makefile
- DETAILS.txt
build.properties
])
1.5 +2 -2 jakarta-tomcat-connectors/webapp/support/wa_version.m4
Index: wa_version.m4
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/webapp/support/wa_version.m4,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- wa_version.m4 9 May 2002 09:26:33 -0000 1.4
+++ wa_version.m4 14 May 2002 22:37:15 -0000 1.5
@@ -57,7 +57,7 @@
dnl --------------------------------------------------------------------------
dnl Author Pier Fumagalli <[EMAIL PROTECTED]>
-dnl Version $Id: wa_version.m4,v 1.4 2002/05/09 09:26:33 jfclere Exp $
+dnl Version $Id: wa_version.m4,v 1.5 2002/05/14 22:37:15 pier Exp $
dnl --------------------------------------------------------------------------
dnl --------------------------------------------------------------------------
@@ -74,7 +74,7 @@
#include "stdio.h"
int main(void) [ {
- printf(WA_REVISION "\n");
+ printf(WA_VERSION "\n");
exit(0);
} ]
EOF
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>