Fetching contributors…
Cannot retrieve contributors at this time
executable file 31 lines (30 sloc) 895 Bytes
# Create distribution source tarball from repository source tree.
# Execute this script with the working directory set to the top of
# the dvdauthor source tree, and it will create
# dvdauthor-$PACKAGE_VERSION.tar.gz in the parent directory.
# Created by Lawrence D'Oliveiro <>.
mkdir ../$dstdir/ || exit 1
cp -a ./ ../$dstdir/dvdauthor/
cd ../$dstdir/dvdauthor
rm -rf .git .gitignore
(cd src; flex -s -B -Cem -odvdvml.c -Pdvdvm dvdvml.l)
(cd src; bison -o dvdvmy.c -d -p dvdvm dvdvmy.y)
(cd doc; docbook2man root.sgml)
rm -rf autom4te.cache src/.deps
eval $(grep PACKAGE_VERSION= configure)
rm doc/manpage.links doc/manpage.refs
rm doc/*.sgml doc/html.dsl
sed -i '/\.\/bootstrap/d' INSTALL
rm bootstrap make-dist clean
cd ..
tar czhvf ../dvdauthor-$PACKAGE_VERSION.tar.gz dvdauthor/
cd ..
rm -rf $dstdir/