mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-26 13:23:25 +03:00
new directory layout
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@795 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
parent
b7ffa5f8b9
commit
32615b51c3
@ -2,7 +2,6 @@ AC_INIT(moses/src)
|
||||
|
||||
AM_CONFIG_HEADER(config.h)
|
||||
AM_INIT_AUTOMAKE(moses, 0.1)
|
||||
AM_MAINTAINER_MODE
|
||||
|
||||
AC_PROG_CXX
|
||||
AC_LANG_CPLUSPLUS
|
||||
|
@ -22,13 +22,33 @@ svn co https://svn.sourceforge.net/svnroot/mosesdecoder/trunk mosesdecoder
|
||||
cd mosesdecoder
|
||||
base=`pwd`
|
||||
|
||||
aclocal
|
||||
# add AM_MAINTAINER_MODE
|
||||
|
||||
perl -e '$c=0; while(<>) { print; $c++; if ($c==5) {print "AM_MAINTAINER_MODE\n"; } }' < configure.in > conf.tmp
|
||||
mv conf.tmp configure.in
|
||||
|
||||
autoconf
|
||||
automake
|
||||
rm -f Makefile
|
||||
rm -f stamp-h1
|
||||
rm -f regenerate-makefiles.sh
|
||||
rm -rf aclocal.m4 autom4te.cache/
|
||||
find . -type d | grep .svn | xargs rm -rf
|
||||
|
||||
cd irstlm
|
||||
aclocal
|
||||
autoconf
|
||||
automake
|
||||
rm -f Makefile
|
||||
rm -f stamp-h1
|
||||
rm -f regenerate-makefiles.sh
|
||||
rm -rf aclocal.m4 autom4te.cache/
|
||||
cd ..
|
||||
|
||||
for dir in moses moses-cmd irstlm; do
|
||||
cd $base
|
||||
cd $dir
|
||||
aclocal
|
||||
autoconf
|
||||
automake
|
||||
rm -rf aclocal.m4 autom4te.cache/
|
||||
rm -f moses-cmd.vcproj
|
||||
rm -f conf26031.sh
|
||||
rm -f config.h
|
||||
@ -40,15 +60,13 @@ for dir in moses moses-cmd irstlm; do
|
||||
rm -f moses.vcproj
|
||||
rm -rf Release
|
||||
rm -rf ReleaseNBest/
|
||||
rm -f regenerate-makefiles.sh
|
||||
rm -rf config
|
||||
find . -type d | grep .svn | xargs rm -rf
|
||||
rm -rf .*
|
||||
rm -f acsite*
|
||||
done
|
||||
|
||||
cd $base
|
||||
tar cf moses-release.tar moses/ moses-cmd/ irstlm/ BUILD-INSTRUCTIONS
|
||||
tar cf moses-release.tar moses/ moses-cmd/ irstlm/ BUILD-INSTRUCTIONS configure Makefile.in Makefile.am install-sh config.h.in depcomp
|
||||
gzip moses-release.tar
|
||||
mv moses-release.tar.gz $topdir/moses-release.tar.gz
|
||||
cd $topdir
|
||||
|
Loading…
Reference in New Issue
Block a user