[libmtj-java] 06/23: Remove javadoc which otherwise needs specific dealing in build system - it is rebuilded anyway

Andreas Tille tille at debian.org
Tue Sep 2 10:00:50 UTC 2014


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository libmtj-java.

commit 8a719b75e95ff52ebbd5b986b2b38b29da9f1922
Author: Andreas Tille <tille at debian.org>
Date:   Sun Jun 3 11:44:37 2012 +0000

    Remove javadoc which otherwise needs specific dealing in build system - it is rebuilded anyway
---
 debian/get-orig-source | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/debian/get-orig-source b/debian/get-orig-source
index 47a18c7..6f63632 100755
--- a/debian/get-orig-source
+++ b/debian/get-orig-source
@@ -28,5 +28,10 @@ unzip -q ${UPSTREAMARCHIVE}
 find ${UARCHIVEDIR} -name "*.jar" -delete
 find ${UARCHIVEDIR} -type d -empty -delete
 
+# Build process deletes javadoc first and rebuilds it afterwards
+# So it is reasonable to save space in the upstream tarball once
+# we are rebuilding it anyway
+rm -rf ${UARCHIVEDIR}/javadoc
+
 GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -czf "$NAME"_"$VERSION"~dfsg.orig.tar.gz "${UARCHIVEDIR}"
 rm -rf ${UARCHIVEDIR}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libmtj-java.git



More information about the pkg-java-commits mailing list