~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
undo: Add test that "stg undo --hard" leaves the stgit tree in a consistent state
[stgit]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
e5c002a
..
53c5694
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,4
+1,4
@@
-
PREFIX
?= $(HOME)
+
prefix
?= $(HOME)
DESTDIR ?= /
PYTHON ?= python
DESTDIR ?= /
PYTHON ?= python
@@
-8,12
+8,19
@@
all:
$(PYTHON) setup.py build
install:
$(PYTHON) setup.py build
install:
- $(PYTHON) setup.py install --prefix=$(
PREFIX
) --root=$(DESTDIR) --force
+ $(PYTHON) setup.py install --prefix=$(
prefix
) --root=$(DESTDIR) --force
doc:
cd Documentation && $(MAKE) all
doc:
cd Documentation && $(MAKE) all
+install-doc:
+ $(MAKE) -C Documentation install
+
+install-html:
+ $(MAKE) -C Documentation install-html
+
test:
test:
+ $(PYTHON) setup.py build
cd t && $(MAKE) all
test_patches:
cd t && $(MAKE) all
test_patches:
@@
-29,8
+36,13
@@
clean:
rm -f stgit/*.pyc
rm -f stgit/commands/*.pyc
rm -f TAGS
rm -f stgit/*.pyc
rm -f stgit/commands/*.pyc
rm -f TAGS
+ rm -f stgit/commands/cmdlist.py
tags:
tags:
+ ctags -R stgit/*
+
+TAGS:
ctags -e -R stgit/*
ctags -e -R stgit/*
-.PHONY: all install doc test test_patches clean
+.PHONY: all install doc install-doc install-html test test_patches \
+ clean tags TAGS