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
bbab4353
Commit
bbab4353
authored
Jan 11, 2006
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove compiled Python files from the tree before packaging.
Convert line ends on more kinds of files.
parent
4ac50075
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
inst/WinBuilders/mk/zope.mk
inst/WinBuilders/mk/zope.mk
+8
-3
No files found.
inst/WinBuilders/mk/zope.mk
View file @
bbab4353
...
...
@@ -26,14 +26,19 @@ SEDSCRIPT="s@<<VERSION>>@$(ZOPEVERSION)@g;s@<<MAKEFILEDIR>>@$(ESCAPED)@g"
$(BUILD_DIR)/Zope-$(ZOPEVERSION)-win32.exe
:
$(BUILD_DIR)/lib/python/version.txt
$(SED)
$(SEDSCRIPT)
<
"
$(MAKEFILEDIR)
/etc/zope.iss.in"
| unix2dos
>
"
$(BUILD_DIR)
/zope.iss"
# Remove CVS directories from the build tree.
# Remove CVS directories
and compiled Python files
from the build tree.
find
$(BUILD_DIR)
-name
CVS
-type
d
-exec
$(RMRF)
{}
\;
-prune
find
$(BUILD_DIR)
-name
"*.pyc"
-o
-name
"*.pyo"
|
xargs
$(RM)
# Convert text files to Windows line ends. unix2dos has the nice
# property that it leaves lines with \r\n alone, so it doesn't hurt
# to do this on files already converted to Windows convention.
find
$(BUILD_DIR)
-name
"*.py"
-o
-name
"*.txt"
-o
-name
"*.bat"
|
\
xargs
unix2dos
find
$(BUILD_DIR)
-name
"*.py"
|
xargs
unix2dos
find
$(BUILD_DIR)
-name
"*.txt"
|
xargs
unix2dos
find
$(BUILD_DIR)
-name
"*.bat"
|
xargs
unix2dos
find
$(BUILD_DIR)
-name
"*.conf"
|
xargs
unix2dos
find
$(BUILD_DIR)
-name
"*.xml"
|
xargs
unix2dos
find
$(BUILD_DIR)
-name
"*.in"
|
xargs
unix2dos
# Build the Inno installer.
$(CD)
"$(BUILD_DIR)"
;
"$(ISS_COMPILER)"
/cc
"$(WIN_BUILD_DIR)\zope.iss"
...
...
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