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
-echo "$(VERSION) $(RELEASE)" > version
build: clean
- python setup.py build -f
+ $(PYTHON) setup.py build -f
clean:
-rm -f MANIFEST
-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
install: build manpage
- python setup.py install -f
+ $(PYTHON) setup.py install -f
install_hard: clean_hard install
-rpm -e certmaster
sdist: messages
- python setup.py sdist
+ $(PYTHON) setup.py sdist
new-rpms: bumprelease rpms