update 'make' GNUmakefile stub to run 'make install'
[blender-staging.git] / build_files / package_spec / debian / rules
index 60b8c694dd4303fc98d45d5a88b86e4a62bbcefd..14cc9e02ae40164cb926c9c792b9fb85e0330697 100755 (executable)
@@ -15,6 +15,7 @@ override_dh_auto_configure:
        # blender spesific CMake options
        dh_auto_configure -- \
                -DCMAKE_BUILD_TYPE:STRING=Release \
+               -DWITH_INSTALL_PORTABLE:BOOL=OFF \
                -DWITH_PYTHON_INSTALL:BOOL=OFF \
                -DWITH_OPENCOLLADA:BOOL=OFF
 
@@ -30,7 +31,11 @@ override_dh_python3:
 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"