Changeset 701 for trunk/technical/common/build/build.sh
- Timestamp:
- Jan 3, 2005, 11:16:52 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/technical/common/build/build.sh
r700 r701 180 180 if [ -r "SOURCES" ]; then 181 181 # create a tar file from the sources 182 tar cvjf ${BUILDTEMP}/src/${PACKAGE}/$PACKAGE-$VERSION.tar.bz2 --files-from SOURCES 182 tar cvjf ${BUILDTEMP}/src/${PACKAGE}/$PACKAGE-$VERSION.tar.bz2 --files-from SOURCES --exclude .svn --exclude "*~" 183 183 184 184 elif [ -r "SPECSOURCES" ]; then 185 # SPECSOURCES have to list the files that are referenced in the .spec file 186 # these ´files are copied to the build environment 185 # SPECSOURCES has to list the files 186 # that are referenced in the .spec file 187 # these files are copied to the build environment 187 188 cp -av `cat SPECSOURCES` ${BUILDTEMP}/src/${PACKAGE} 188 189 189 190 else 190 191 # legacy method: 191 # call the existing makefile to generate a tar file 192 # call the existing Makefile 193 # to generate a tar file 192 194 test -e Makefile && make 193 195 TARFILE=$(ls *.tar.[gb]z*| awk '{print $1}')
Note:
See TracChangeset
for help on using the changeset viewer.