mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-13 17:02:12 -05:00
#341: Always generate UNIX newlines in the quickstart Makefile.
This commit is contained in:
1 parent
ee990c87f5
commit
23cec21823
2 files changed
+4
-1
No files matched your search
@@ -1,6 +1,8 @@
|
||||
Release 0.6.5 (in development)
|
||||
==============================
|
||||
|
||||
* #341: Always generate UNIX newlines in the quickstart Makefile.
|
||||
|
||||
* #338: Fix running with ``-C`` under Windows.
|
||||
|
||||
* In autodoc, allow customizing the signature of an object where
|
||||
|
||||
@@ -687,7 +687,8 @@ directly.'''
|
||||
if d['makefile']:
|
||||
d['rsrcdir'] = d['sep'] and 'source' or '.'
|
||||
d['rbuilddir'] = d['sep'] and 'build' or d['dot'] + 'build'
|
||||
f = open(path.join(d['path'], 'Makefile'), 'w')
|
||||
# use binary mode, to avoid writing \r\n on Windows
|
||||
f = open(path.join(d['path'], 'Makefile'), 'wb')
|
||||
f.write((MAKEFILE % d).encode('utf-8'))
|
||||
f.close()
|
||||
|
||||
|
||||
Reference in new issue
Block a user