[project @ 1998-05-29 14:02:29 by sof]
authorsof <unknown>
Fri, 29 May 1998 14:02:30 +0000 (14:02 +0000)
committersof <unknown>
Fri, 29 May 1998 14:02:30 +0000 (14:02 +0000)
New rule, dist-package-zip: package src dists up using zip

mk/config.mk.in
mk/target.mk

index fe081e9..725c6da 100644 (file)
@@ -600,6 +600,7 @@ REAL_SHELL=$(SHELL)
 SIZE                   = size
 STRIP                  = strip
 TAR                    = @TarCmd@
+ZIP                    = zip
 
 #
 # Under cygwin32, we have to deal with .exe suffixes
index 3b9bef8..fe44cae 100644 (file)
@@ -741,9 +741,14 @@ dist-post::
 dist-manifest ::
        cd $(SRC_DIST_DIR); find . \( -type l -o -type f \) -exec ls -lLG {} \; | sed -e 's/\.\///' > /tmp/MANIFEST ; mv /tmp/MANIFEST MANIFEST
 
-dist-package::
+dist-package:: dist-package-tar-gz
+
+dist-package-tar-gz ::
        cd $(SRC_DIST_DIR); cd ..; $(TAR) chzf $(SRC_DIST_NAME).tar.gz $(SRC_DIST_NAME)
 
+dist-package-zip ::
+       cd $(SRC_DIST_DIR); cd ..; $(ZIP) -r $(SRC_DIST_NAME).zip $(SRC_DIST_NAME)
+
 #
 # binary-dist creates a binary bundle, set BIN_DIST_NAME
 # to package name and do `make binary-dist' (normally this