PBProjects/mkpbprojects.csh
author Ryan C. Gordon <icculus@icculus.org>
Mon, 23 Mar 2009 01:43:05 -0400
branchstable-1.0
changeset 966 816a83f04a27
parent 518 678bd642c6b5
permissions -rwxr-xr-x
Updated version to 1.0.2 in configure.in ...
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
518
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     1
#!/bin/csh
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     2
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     3
###
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     4
## This script creates "PBProjects.tar.gz" in the parent directory
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     5
###
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     6
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     7
# remove build products
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     8
rm -rf build
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     9
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    10
# remove Finder info files
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    11
find . -name ".DS_Store" -exec rm "{}" ";"
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    12
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    13
# remove user project prefs
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    14
find . -name "*.pbxuser" -exec rm "{}" ";"
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    15
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    16
# create the archive
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    17
(cd .. && gnutar -zcvf PBProjects.tar.gz PBProjects)
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    18
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    19
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    20