Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
4ac50075
Commit
4ac50075
authored
Jan 11, 2006
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use immediate assignment to (greatly) speed the
heavily used utility variables that call out to a shell.
parent
bd7730ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
inst/WinBuilders/mk/common.mk
inst/WinBuilders/mk/common.mk
+11
-10
No files found.
inst/WinBuilders/mk/common.mk
View file @
4ac50075
BASE_DIR
=
$(
shell
pwd
)
WIN_BASE_DIR
=
$(
shell
cygpath
-w
$(BASE_DIR)
)
BUILD_DIR
=
$(BASE_DIR)
/build
WIN_BUILD_DIR
=
$(
shell
cygpath
-w
$(BUILD_DIR)
)
SRC_DIR
=
$(BASE_DIR)
/src
WIN_SRC_DIR
=
$(
shell
cygpath
-w
$(SRC_DIR)
)
TMP_DIR
=
$(BASE_DIR)
/tmp
WIN_TMP_DIR
=
$(
shell
cygpath
-w
$(TMP_DIR)
)
WIN_MAKEFILEDIR
=
$(
shell
cygpath
-w
$(MAKEFILEDIR)
)
# Use immediate assignment to avoid calling out to the shell a zillion times.
BASE_DIR
:=
$(
shell
pwd
)
WIN_BASE_DIR
:=
$(
shell
cygpath
-w
$(BASE_DIR)
)
BUILD_DIR
:=
$(BASE_DIR)
/build
WIN_BUILD_DIR
:=
$(
shell
cygpath
-w
$(BUILD_DIR)
)
SRC_DIR
:=
$(BASE_DIR)
/src
WIN_SRC_DIR
:=
$(
shell
cygpath
-w
$(SRC_DIR)
)
TMP_DIR
:=
$(BASE_DIR)
/tmp
WIN_TMP_DIR
:=
$(
shell
cygpath
-w
$(TMP_DIR)
)
WIN_MAKEFILEDIR
:=
$(
shell
cygpath
-w
$(MAKEFILEDIR)
)
# Root of the Windows drive you're working on. The setting here is for
# the C: drive and using a default out-of-the-box Cygwin.
...
...
@@ -63,4 +64,4 @@ define COPY_AND_WINDOWIZE_LINEENDS
$(CP)
$<
$@
unix2dos
$@
$(TOUCH)
$@
endef
\ No newline at end of file
endef
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment