[cc43bd]: makedist  Maximize  Restore  History

Download this file

21 lines (18 with data), 848 Bytes

#This is script that will create distribution tarballs

#This file should be run on exported directory, not directly in CVS tree
#It is expected that the directory in which the sources are exported is named 'pdfedit'

#Make documentation before making tarball
(cd doc && make doc_dist)
#Translate all .ts files to .qm
(cd src/gui/lang && lrelease *.ts)
#Get version number
#Pack all files, excluding unwanted ones (CVS files, generated programmer documentation, object files, binaries, etc ...)
rm -f ../pdfedit-$VERSION
ln -s pdfedit ../pdfedit-$VERSION
cd ..
tar -czhf pdfedit-$VERSION.tar.gz pdfedit-$VERSION/* --exclude-from=pdfedit/dist-exclude
echo pdfedit-$VERSION.tar.gz created
tar -cjhf pdfedit-$VERSION.tar.bz2 pdfedit-$VERSION/* --exclude-from=pdfedit/dist-exclude
echo pdfedit-$VERSION.tar.bz2 created

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks