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

harris41 lon-capa-cvs@mail.lon-capa.org
Wed, 08 May 2002 22:12:32 -0000


harris41		Wed May  8 18:12:32 2002 EDT

  Modified files:              
    /loncom/build	Makefile 
  Log:
  a nice happy sorted unique manifest
  
  
Index: loncom/build/Makefile
diff -u loncom/build/Makefile:1.102 loncom/build/Makefile:1.103
--- loncom/build/Makefile:1.102	Wed May  8 17:06:09 2002
+++ loncom/build/Makefile	Wed May  8 18:12:31 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 
 # Scott Harrison
-# $Id: Makefile,v 1.102 2002/05/08 21:06:09 harris41 Exp $
+# $Id: Makefile,v 1.103 2002/05/08 22:12:31 harris41 Exp $
 
 DISTPROBE=`perl ./distprobe`
 DIST=$(DISTPROBE)
@@ -438,7 +438,8 @@
 	chmod a+rx $(SOURCE)/CHECKRPMS
 	cp $(SOURCE)/doc/shortest_path_redhat7.2.txt $(SOURCE)/README
 	cd $(SOURCE); \
-	sort MANIFEST | perl -nle 'print "$(DIRTARGET)/$$_"' > \
+	sort MANIFEST | perl -nle 'print "$(DIRTARGET)/$$_"' | \
+	perl -nle 's/\w+\/\.\.\///g;s/\w+\/\.\.\///g;s/\w+\/\.\.\///g;s/\w+\/\.\.\///g;s/\w+\/\.\.\///g;s/\/\.\//\//g;print' | sort | uniq > \
 	MANIFEST_loncapa; \
 	ln -s . $(DIRTARGET); \
 	tar --no-recursion --numeric-owner --files-from MANIFEST_loncapa \