summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2005-02-16 12:33:16 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2005-02-16 12:33:16 +0000
commitd571e83367296c7886d6f2f29572d4366936d64a (patch)
tree9384f3aedf095ce4fdef924571afff22395ea6e4 /python
parente99363c1d5378bc450f860a879f2dcc0720443d5 (diff)
#i10000#: exeecute minimal python script after creating executables. Running the minimal script ensures that certain *.pyc files are generated which would otherwise be created on solver during registration in insetoo_native
Diffstat (limited to 'python')
-rw-r--r--python/makefile.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/python/makefile.mk b/python/makefile.mk
index 07ba6aeb9c66..0924ea6ff7c8 100644
--- a/python/makefile.mk
+++ b/python/makefile.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.16 $
+# $Revision: 1.17 $
#
-# last change: $Author: rt $ $Date: 2005-01-28 16:06:39 $
+# last change: $Author: hr $ $Date: 2005-02-16 13:33:16 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -141,8 +141,12 @@ BUILD_ACTION=$(ENV_BUILD) $(GNUMAKE) -j$(EXTMAXPROCESS) ; $(GNUMAKE) install
# WINDOWS
# ----------------------------------
BUILD_DIR=PCbuild
+# Build python executable and then runs a minimal script. Running the minimal script
+# ensures that certain *.pyc files are generated which would otherwise be created on
+# solver during registration in insetoo_native
BUILD_ACTION= \
$(foreach,i,$(PYPROJECTS) nmake -F $(i).mak CFG="$(i) - Win32 Release" OS="Windows_NT" && ) \
+ python.exe -c "import os" && \
echo build done
.ENDIF