提交 d54d1e00 编写于 作者: Z zdenop@gmail.com

fix tarball portability

git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@802 d0cd1f9f-072b-0410-8dd7-cf729c803f20
上级 e8350302
......@@ -153,7 +153,7 @@ STRIP_FROM_INC_PATH =
# (but less readable) file names. This can be useful if your file system
# doesn't support long names like on DOS, Mac, or CD-ROM.
SHORT_NAMES = NO
SHORT_NAMES = YES
# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen
# will interpret the first line (until the first dot) of a JavaDoc-style
......
......@@ -34,16 +34,16 @@ zip -9 -r --exclude=*.svn* --exclude=*strtok_r* $name.zip $source_dir/vs2008/
# create linux source package
echo Creating linux source package $ver$src_min_ver.tar.gz ...
tar -chf $ver$src_min_ver.tar --exclude=.svn --exclude=debian --exclude=autom4te.cache --exclude=doc/html --exclude=po/ --exclude=m4/ --exclude=makemoredists --exclude=vs2008 -exclude=INSTALL.SVN -X $excld $source_dir/*
tar -chof $ver$src_min_ver.tar --exclude=.svn --exclude=debian --exclude=autom4te.cache --exclude=doc/html --exclude=po/ --exclude=m4/ --exclude=makemoredists --exclude=vs2008 -exclude=INSTALL.SVN -X $excld $source_dir/*
#workaround to include strtok_r from vs2008 for mingw
tar -rf $ver$src_min_ver.tar $source_dir/vs2008/port/strtok_r.*
tar -rof $ver$src_min_ver.tar $source_dir/vs2008/port/strtok_r.*
gzip $ver$src_min_ver.tar
# create doc and package doc
cd $source_dir
doxygen doc/Doxyfile
cd ..
tar -chzf $ver-doc-html.tar.gz $source_dir/doc/html/*
tar --group root --owner root -chozf $ver-doc-html.tar.gz $source_dir/doc/html/*
rm -f $excld
cd $source_dir
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册