--- from the tracker
It's annoying that build_debian.sh downloads the source tree to create tarball every time we build a deb package.
fix_debian_rules_avoid_downloading.patch modifies debian/rules so that the tarball will be created from local repository if possible.
get-orig-source:
rm -rf get-orig-source $(TARBALL)
mkdir get-orig-source
- svn -q export -r $(REV) $(SVN_URL) get-orig-source/blender-$(VER)
+ if [ "$(SVN_URL)" = . ] && [ `svnversion` = "$(REV)" ]; then \
+ svn -q export . get-orig-source/blender-$(VER); \
+ else \
+ svn -q export -r $(REV) $(SVN_URL) get-orig-source/blender-$(VER); \
+ fi
GZIP='--best --no-name' tar czf $(TARBALL) -C get-orig-source blender-$(VER)
rm -rf get-orig-source
@echo "$(TARBALL) created; move it to the right destination to build the package"