Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
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
Boxiang Sun
cython
Commits
34a1c3a0
Commit
34a1c3a0
authored
Oct 24, 2013
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #58 from drafnel/master
Makefile: rework repo creation target
parents
26b9fdf7
ff668088
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
Makefile
Makefile
+5
-8
No files found.
Makefile
View file @
34a1c3a0
...
@@ -6,17 +6,14 @@ all: local
...
@@ -6,17 +6,14 @@ all: local
local
:
local
:
${PYTHON}
setup.py build_ext
--inplace
${PYTHON}
setup.py build_ext
--inplace
.git
:
REV := $(shell cat .gitrev)
TMPDIR
=
.repo_tmp
.git
:
TMPDIR := $(shell mktemp -d tmprepo.XXXXXX)
.git
:
.gitrev
.git
:
rm
-rf
$(TMPDIR)
rm
-rf
$(TMPDIR)
git clone
$(REPO)
$(TMPDIR)
git clone
-n
$(REPO)
$(TMPDIR)
cd
$(TMPDIR)
;
git checkout
-b
working
$(REV)
cd
$(TMPDIR)
&&
git reset
-q
"
$(
shell
cat .gitrev
)
"
mv
$(TMPDIR)
/.hgtags .
mv
$(TMPDIR)
/.hgignore .
mv
$(TMPDIR)
/.git .
mv
$(TMPDIR)
/.git .
mv
$(TMPDIR)
/Doc/s5 Doc/s5
rm
-rf
$(TMPDIR)
rm
-rf
$(TMPDIR)
git ls-files
-d
| xargs git checkout
--
repo
:
.git
repo
:
.git
...
...
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