Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.


[dd40e6]: makedist Maximize Restore History

Download this file

makedist    15 lines (14 with data), 685 Bytes

#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)
(cd src/gui && lrelease
#Get version number
#Pack all files, excluding unwanted ones (CVS files, generated programmer documentation, object files, binaries, etc ...)
rm ../pdfedit-$VERSION
ln -s pdfedit ../pdfedit-$VERSION
cd ..
tar -czvhf pdfedit-$VERSION.tar.gz pdfedit-$VERSION/* --exclude-from=pdfedit/dist-exclude
tar -cjvhf pdfedit-$VERSION.tar.bz2 pdfedit-$VERSION/* --exclude-from=pdfedit/dist-exclude