[LON-CAPA-cvs] cvs: nsdl /build Makefile
harris41
lon-capa-cvs@mail.lon-capa.org
Sun, 14 Jul 2002 00:27:56 -0000
harris41 Sat Jul 13 20:27:56 2002 EDT
Modified files:
/nsdl/build Makefile
Log:
implementing nsdl gateway build target; BUG FIX 340
Index: nsdl/build/Makefile
diff -u nsdl/build/Makefile:1.4 nsdl/build/Makefile:1.5
--- nsdl/build/Makefile:1.4 Tue May 28 20:58:20 2002
+++ nsdl/build/Makefile Sat Jul 13 20:27:56 2002
@@ -1,7 +1,7 @@
# The NSDL to LON-CAPA Gateway Server
# Scott Harrison
-# $Id: Makefile,v 1.4 2002/05/29 00:58:20 harris41 Exp $
+# $Id: Makefile,v 1.5 2002/07/14 00:27:56 harris41 Exp $
DISTPROBE=`perl ./distprobe`
DIST=$(DISTPROBE)
@@ -54,8 +54,15 @@
@echo "tardist: build a tarball that will upgrade the software on a "
@echo " system"
-build:
- @echo "Not yet implemented"
+build: Makefile.build
+ echo -n "" > WARNINGS
+ make -f Makefile.build all
+ make warningnote
+
+Makefile.build: Makefile alwaysrun
+ cat gatewayfiles.lpml | \
+ perl lpml_parse.pl build $(CATEGORY) $(DIST) "$(SOURCE)" \
+ "$(TARGET)" > Makefile.build
NET_install:
make TIMESTAMP=`date +"%s"` METAMTARGET="TRANSPORT" \