[LON-CAPA-cvs] cvs: loncom /build Makefile

harris41 lon-capa-cvs@mail.lon-capa.org
Sun, 12 May 2002 21:48:54 -0000


harris41		Sun May 12 17:48:54 2002 EDT

  Modified files:              
    /loncom/build	Makefile 
  Log:
  allow query scripts to take in standard input
  
  
Index: loncom/build/Makefile
diff -u loncom/build/Makefile:1.105 loncom/build/Makefile:1.106
--- loncom/build/Makefile:1.105	Thu May  9 00:58:03 2002
+++ loncom/build/Makefile	Sun May 12 17:48:54 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 
 # Scott Harrison
-# $Id: Makefile,v 1.105 2002/05/09 04:58:03 harris41 Exp $
+# $Id: Makefile,v 1.106 2002/05/12 21:48:54 harris41 Exp $
 
 DISTPROBE=`perl ./distprobe`
 DIST=$(DISTPROBE)
@@ -12,6 +12,7 @@
 NORESTORECONF="0"
 HOSTNAME=""
 LAUNCH=| perl
+QUERYLAUNCH=> /tmp/loncapa_query.pl; perl /tmp/loncapa_query.pl
 OUTSTREAM=>
 SAVE=program.pl.$(TIMESTAMP)
 LAUNCHSAVE=$(OUTSTREAM) $(SAVE)
@@ -206,7 +207,7 @@
 
 updatequery:
 	cat $(SOURCE)/doc/loncapafiles/updatequery.piml | \
-	perl piml_parse.pl $(CATEGORY) $(DIST) "$(TARGET)" $(LAUNCH) | \
+	perl piml_parse.pl $(CATEGORY) $(DIST) "$(TARGET)" $(QUERYLAUNCH) | \
 	tee -a WARNINGS
 
 postinstall: