Skip to content

Commit

Permalink
add script to restore to a pristine source tree
Browse files Browse the repository at this point in the history
  • Loading branch information
Lawrence D'Oliveiro committed Apr 30, 2010
1 parent 759565e commit 819a220
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
12 changes: 12 additions & 0 deletions clean
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash
#+
# Restore to a pristine source tree.
#
# Written by Lawrence D'Oliveiro <[email protected]>.
#-

rm -f src/*.o doc/*.1 doc/manpage.{links,refs} config.log config.status
rm -rf autom4te.cache autotools dvdauthor.spec src/.deps
rm -f configure {,src/,doc/}Makefile{,.in} src/config.h src/config.h.in aclocal.m4
rm -f src/stamp-h1 src/dvdvml.c src/dvdvmy.c src/dvdvmy.h
rm -f src/{dvdauthor,spumux,dvdunauthor,spuunmux,mpeg2desc,dvddirdel}
3 changes: 2 additions & 1 deletion make-dist
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ dstdir=dvdauthor-tartmp
mkdir ../$dstdir/ || exit 1
cp -a ./ ../$dstdir/dvdauthor/
cd ../$dstdir/dvdauthor
./clean
rm -rf .git
./bootstrap
(cd src; flex -s -B -Cem -odvdvml.c -Pdvdvm dvdvml.l)
Expand All @@ -22,7 +23,7 @@ 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
rm bootstrap make-dist clean
cd ..
tar czhvf ../dvdauthor-$PACKAGE_VERSION.tar.gz dvdauthor/
cd ..
Expand Down

0 comments on commit 819a220

Please sign in to comment.