--- loncom/build/Makefile 2002/05/08 21:06:09 1.102 +++ loncom/build/Makefile 2002/05/08 22:12:31 1.103 @@ -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 @@ tardist: 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 \