projects
/
certmaster.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cd13dd2
)
make the python executable we use a makefile variable
author
Adrian Likins
<alikins@redhat.com>
Wed, 21 Jan 2009 19:58:45 +0000
(14:58 -0500)
committer
Adrian Likins
<alikins@redhat.com>
Wed, 21 Jan 2009 19:58:45 +0000
(14:58 -0500)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
45f3e86
..
2f83003
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,6
+1,7
@@
VERSION = $(shell echo `awk '{ print $$1 }' version`)
RELEASE = $(shell echo `awk '{ print $$2 }' version`)
NEWRELEASE = $(shell echo $$(($(RELEASE) + 1)))
VERSION = $(shell echo `awk '{ print $$1 }' version`)
RELEASE = $(shell echo `awk '{ print $$2 }' version`)
NEWRELEASE = $(shell echo $$(($(RELEASE) + 1)))
+PYTHON = /usr/bin/python
MESSAGESPOT=po/messages.pot
MESSAGESPOT=po/messages.pot
@@
-31,7
+32,7
@@
setversion:
-echo "$(VERSION) $(RELEASE)" > version
build: clean
-echo "$(VERSION) $(RELEASE)" > version
build: clean
-
python
setup.py build -f
+
$(PYTHON)
setup.py build -f
clean:
-rm -f MANIFEST
clean:
-rm -f MANIFEST
@@
-42,7
+43,7
@@
clean:
-for d in $(DIRS); do ($(MAKE) -C $$d clean ); done
clean_hard:
-for d in $(DIRS); do ($(MAKE) -C $$d clean ); done
clean_hard:
- -rm -rf $(shell
python
-c "from distutils.sysconfig import get_python_lib; print get_python_lib()")/certmaster
+ -rm -rf $(shell
$(PYTHON)
-c "from distutils.sysconfig import get_python_lib; print get_python_lib()")/certmaster
clean_harder:
-rm -rf /etc/pki/certmaster
clean_harder:
-rm -rf /etc/pki/certmaster
@@
-53,7
+54,7
@@
clean_hardest: clean_rpms
install: build manpage
install: build manpage
-
python
setup.py install -f
+
$(PYTHON)
setup.py install -f
install_hard: clean_hard install
install_hard: clean_hard install
@@
-73,7
+74,7
@@
clean_rpms:
-rpm -e certmaster
sdist: messages
-rpm -e certmaster
sdist: messages
-
python
setup.py sdist
+
$(PYTHON)
setup.py sdist
new-rpms: bumprelease rpms
new-rpms: bumprelease rpms