logo       


svn commit: r1596 - branches/1.0.x/tools/make-release: msg#00045

Subject: svn commit: r1596 - branches/1.0.x/tools/make-release
Author: cmpilato
Date: 2007-04-10 08:45:21-0700
New Revision: 1596

Modified:
   branches/1.0.x/tools/make-release

Log:
Update make-release script with latest from trunk.

Modified: branches/1.0.x/tools/make-release
Url: 
http://viewvc.tigris.org/source/browse/viewvc/branches/1.0.x/tools/make-release?view=diff&rev=1596&p1=branches/1.0.x/tools/make-release&p2=branches/1.0.x/tools/make-release&r1=1595&r2=1596
==============================================================================
--- branches/1.0.x/tools/make-release   (original)
+++ branches/1.0.x/tools/make-release   2007-04-10 08:45:21-0700
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# Copyright (C) 1999-2006 The ViewCVS Group. All Rights Reserved.
+# Copyright (C) 1999-2007 The ViewCVS Group. All Rights Reserved.
 #
 # By using this file, you agree to the terms and conditions set forth in
 # the LICENSE.html file which can be found at the top level of the ViewVC
@@ -45,30 +45,50 @@
     EOL="--native-eol LF"
   fi
 
-  svn export ${EOL} http://viewvc.tigris.org/svn/viewvc/${ROOT} ${TARGET}
+  echo "Beginning build for ${PLATFORM}:"
+
+  echo "   Exporting source code..."
+  svn export --quiet ${EOL} http://viewvc.tigris.org/svn/viewvc/${ROOT} 
${TARGET}
 
   ### Various shifting, cleanup.  
 
   # Documentation is now also distributed together with the release, but
   # we still copy the license file to its traditional place (it is small
   # and many files still contain comments refering to this location):
+  echo "   Copying LICENSE.html into place..."
+  cp ${TARGET}/viewvc.org/license-1.html ${TARGET}/LICENSE.html
 
   # Remove some not useful directories
-  rm -r ${TARGET}/{elemx,tests,tools,tparse,viewcvs.sourceforge.net,www}
+  for JUNK in elemx \
+              notes \
+              tests \
+              tools \
+              tparse \
+              viewcvs.sourceforge.net \
+              viewvc.org \
+              www; do
+    if [ -d ${TARGET}/${JUNK} ]; then
+      echo "   Removing ${TARGET}/${JUNK}..."
+      rm -r ${TARGET}/${JUNK}
+    fi
+  done
 
   # Make sure permissions are reasonable:
+  echo "   Normalizing permissions..."
   find ${TARGET} -print | xargs chmod uoa+r
   find ${TARGET} -type d -print | xargs chmod uoa+x
 
   if test ${PLATFORM} = windows; then
     # Create also a ZIP file for those poor souls :-) still using Windows: 
+    echo "   Creating ZIP archive..."
     zip -qor9 ${TARGET}.zip ${TARGET}
   else
     # Cut the tarball:
+    echo "   Creating tarball archive..."
     tar cf - ${TARGET} | gzip -9 > ${TARGET}.tar.gz
   fi
 
   # remove target directory
   rm -r ${TARGET}
 done
-echo 'Done.'
+echo "Done."


Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
Search:
Java, servers, webhosting, windows, cisco ...
more...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe