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

harris41 lon-capa-cvs@mail.lon-capa.org
Fri, 26 Apr 2002 14:42:09 -0000


harris41		Fri Apr 26 10:42:09 2002 EDT

  Modified files:              
    /loncom/build	Makefile 
  Log:
  no recursion so as to avoid CVS directories; also try
  a tar bug workaround by using buildfiles.lpml first
  
  
Index: loncom/build/Makefile
diff -u loncom/build/Makefile:1.86 loncom/build/Makefile:1.87
--- loncom/build/Makefile:1.86	Fri Apr 26 10:25:47 2002
+++ loncom/build/Makefile	Fri Apr 26 10:42:09 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 
 # Scott Harrison
-# $Id: Makefile,v 1.86 2002/04/26 14:25:47 harris41 Exp $
+# $Id: Makefile,v 1.87 2002/04/26 14:42:09 harris41 Exp $
 
 DISTPROBE=`perl ./distprobe`
 DIST=$(DISTPROBE)
@@ -354,12 +354,12 @@
 	rm -Rf docs
 
 tardist:
-	cat $(SOURCE)/doc/loncapafiles/loncapafiles.lpml | \
-	perl lpml_parse.pl MANIFEST development default \
-	'$(SOURCE)' '$(TARGET)' | grep '[[:alnum:]]' > $(SOURCE)/MANIFEST
 	cat $(SOURCE)/doc/loncapafiles/buildfiles.lpml | \
 	perl lpml_parse.pl MANIFEST development default \
 	'$(SOURCE)' '$(TARGET)' | grep '[[:alnum:]]' >> $(SOURCE)/MANIFEST
+	cat $(SOURCE)/doc/loncapafiles/loncapafiles.lpml | \
+	perl lpml_parse.pl MANIFEST development default \
+	'$(SOURCE)' '$(TARGET)' | grep '[[:alnum:]]' > $(SOURCE)/MANIFEST
 	echo 'README' >> $(SOURCE)/MANIFEST
 	echo 'UPDATE' >> $(SOURCE)/MANIFEST
 	echo 'TEST' >> $(SOURCE)/MANIFEST
@@ -377,8 +377,8 @@
 	chmod a+rx $(SOURCE)/TEST
 	cp $(SOURCE)/doc/shortest_path_redhat7.2.txt $(SOURCE)/README
 	cd $(SOURCE); \
-	tar --numeric-owner --files-from MANIFEST -czf loncapa.tar.gz \
-	2>WARNINGS || [ "0" == "0" ]
+	tar --no-recursion --numeric-owner --files-from MANIFEST \
+	-czf loncapa.tar.gz 2>WARNINGS || [ "0" == "0" ]
 	cat $(SOURCE)/WARNINGS | \
 	xargs --replace=XXX echo '**** WARNING **** XXX' > WARNINGS
 	rm -f $(SOURCE)/WARNINGS