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

harris41 lon-capa-cvs@mail.lon-capa.org
Thu, 11 Jul 2002 05:28:06 -0000


harris41		Thu Jul 11 01:28:06 2002 EDT

  Modified files:              
    /loncom/build	Makefile 
  Log:
  BUG FIX 582.  Building a version-numbered tardist tarball for
  loncapa.
  
  loncapa-$(VERSION).tar.gz
  and
  loncapa-$(VERSION)/file1
  loncapa-$(VERSION)/file2
  .
  .
  . etc
  
  
  
Index: loncom/build/Makefile
diff -u loncom/build/Makefile:1.125 loncom/build/Makefile:1.126
--- loncom/build/Makefile:1.125	Thu Jul 11 01:09:55 2002
+++ loncom/build/Makefile	Thu Jul 11 01:28:06 2002
@@ -1,14 +1,13 @@
 # The LearningOnline Network with CAPA
 
 # Scott Harrison
-# $Id: Makefile,v 1.125 2002/07/11 05:09:55 harris41 Exp $
+# $Id: Makefile,v 1.126 2002/07/11 05:28:06 harris41 Exp $
 
 DISTPROBE=`perl ./distprobe`
 DIST=$(DISTPROBE)
 CATEGORY="development"
 SOURCE=../..
 TARGET=""
-DIRTARGET=loncapa
 NORESTORECONF="0"
 HOSTNAME=""
 LAUNCH=| perl
@@ -19,6 +18,7 @@
 METAMTARGET=""
 MTARGET=""
 VERSION=0.4
+DIRTARGET=loncapa-$(VERSION)
 
 help:
 	@echo "*** You need to specify a valid target ***"
@@ -508,7 +508,7 @@
 	make aboutVERSION
 	cd $(SOURCE); \
 	tar --no-recursion --numeric-owner --files-from MANIFEST_loncapa \
-	-h -czf loncapa.tar.gz 2>WARNINGS || [ "0" == "0" ]
+	-h -czf $(DIRTARGET).tar.gz 2>WARNINGS || [ "0" == "0" ]
 	mv -v $(SOURCE)/loncom/license/about.html.orig \
 	$(SOURCE)/loncom/license/about.html
 	cat $(SOURCE)/WARNINGS | \