Commit b5f269fb authored by sumpfralle's avatar sumpfralle

removed bashism from Makefile

added UAC (for Windows installer package) to prevent access problems during installation for Windows Vista/7


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@1086 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent d6bd2abd
...@@ -34,7 +34,7 @@ man: svn_export ...@@ -34,7 +34,7 @@ man: svn_export
@make -C "$(EXPORT_DIR)/man" @make -C "$(EXPORT_DIR)/man"
svn_export: clean svn_export: clean
@if svn info &>/dev/null;\ @if svn info 2>/dev/null >&2;\
then svn export --quiet "$(SVN_REPO_BASE)" "$(EXPORT_DIR)";\ then svn export --quiet "$(SVN_REPO_BASE)" "$(EXPORT_DIR)";\
else svk co "$(SVK_REPO_BASE)" "$(EXPORT_DIR)";\ else svk co "$(SVK_REPO_BASE)" "$(EXPORT_DIR)";\
fi fi
...@@ -52,7 +52,7 @@ tgz: create_archive_dir man svn_export ...@@ -52,7 +52,7 @@ tgz: create_archive_dir man svn_export
win32: create_archive_dir man svn_export win32: create_archive_dir man svn_export
# this is a binary release # this is a binary release
cd "$(EXPORT_DIR)"; $(PYTHON_EXE) setup.py bdist --format wininst --dist-dir "$(ARCHIVE_DIR)" $(DISTUTILS_PLAT_NAME) cd "$(EXPORT_DIR)"; $(PYTHON_EXE) setup.py bdist_wininst --user-access-control force --dist-dir "$(ARCHIVE_DIR)" $(DISTUTILS_PLAT_NAME)
upload: upload:
svn cp "$(SVN_REPO_BASE)" "$(REPO_TAGS)/release-$(VERSION)" -m "tag release $(VERSION)" svn cp "$(SVN_REPO_BASE)" "$(REPO_TAGS)/release-$(VERSION)" -m "tag release $(VERSION)"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment