Changeset 15117


Ignore:
Timestamp:
Nov 22, 2005, 5:20:22 PM (15 years ago)
Author:
jberry
Message:
  • Add to creation of archive tarballs to rule dist.
  • Add COPY_EXTENDED_ATTRIBUTES_DISABLE env variable so tar won't complain about bogus files that it can't stat.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/release_1_2/base/Makefile.in

    r15099 r15117  
    22DISTDIR         = dist
    33DISTNAME        = DarwinPorts-${DISTVER}
     4DISTARCNAME     = DarwinPorts-${DISTVER}-archive
    45
    56include Mk/dports.subdir.mk
     
    4142        @[ -n "${DISTVER}" ] || ( echo Must specify DISTVER, like: make DISTVER=1.1 dist; exit 1 )
    4243        [ -d ${DISTDIR} ] || mkdir ${DISTDIR}
    43         tar --exclude CVS --exclude ${DISTDIR} -c . | gzip > ${DISTDIR}/${DISTNAME}.tar.gz
    44         tar --exclude CVS --exclude ${DISTDIR} -c . | bzip2 > ${DISTDIR}/${DISTNAME}.tar.bz2
     44        # http://forums.macosxhints.com/printthread.php?t=43243 for COPY_EXTENDED_ATTRIBUTES_DISABLE info
     45        COPY_EXTENDED_ATTRIBUTES_DISABLE=true tar --exclude CVS --exclude ${DISTDIR} -c . | gzip > ${DISTDIR}/${DISTNAME}.tar.gz
     46        COPY_EXTENDED_ATTRIBUTES_DISABLE=true tar --exclude CVS --exclude ${DISTDIR} -c . | bzip2 > ${DISTDIR}/${DISTNAME}.tar.bz2
     47        COPY_EXTENDED_ATTRIBUTES_DISABLE=true tar --exclude CVS --exclude ${DISTDIR} -c .. | gzip > ${DISTDIR}/${DISTARCNAME}.tar.gz
     48        COPY_EXTENDED_ATTRIBUTES_DISABLE=true tar --exclude CVS --exclude ${DISTDIR} -c .. | bzip2 > ${DISTDIR}/${DISTARCNAME}.tar.bz2
    4549       
    4650        cd ${DISTDIR}; for type in -md5 -sha1 -ripemd160; do openssl dgst $$type *.gz *.bz2; done > ${DISTNAME}.chk.txt
Note: See TracChangeset for help on using the changeset viewer.