diff options
author | Adrian Likins <alikins@redhat.com> | 2007-09-27 13:13:03 -0400 |
---|---|---|
committer | Adrian Likins <alikins@redhat.com> | 2007-09-27 13:13:03 -0400 |
commit | 1a04b752443d805ebe19fa9748becb35c4aeaff8 (patch) | |
tree | 5fca9f57502b1168bee4959759d20e1fe02d22d1 | |
parent | 23625e2c3ab849d990df286eed8273a885e9600a (diff) | |
download | func-1a04b752443d805ebe19fa9748becb35c4aeaff8.tar.gz func-1a04b752443d805ebe19fa9748becb35c4aeaff8.tar.xz func-1a04b752443d805ebe19fa9748becb35c4aeaff8.zip |
add clean_hard, clean_harder that removes the site-packages/func tree entirely,
and removes /etc/pki/func, /var/lib/func, and /etc/func
add corresponing install_hard, install_harder
add "recombuild" target that does a install_harder, and restarts the services
-rwxr-xr-x | Makefile | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -13,6 +13,14 @@ clean: -rm -rf rpm-build/ -rm -rf docs/*.gz +clean_hard: + -rm -rf $(shell python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")/func + +clean_harder: + -rm -rf /etc/pki/func + -rm -rf /etc/func + -rm -rf /var/lib/func + manpage: pod2man --center="funcd" --release="" ./docs/funcd.pod | gzip -c > ./docs/funcd.1.gz pod2man --center="func" --release="" ./docs/func.pod | gzip -c > ./docs/func.1.gz @@ -29,12 +37,20 @@ bumprelease: setversion: -echo "$(VERSION) $(RELEASE)" > version -build: +build: clean python setup.py build -f install: build manpage python setup.py install -f +install_hard: clean_hard install + +install_harder: clean_harder install + +recombuild: install_harder + -/etc/init.d/certmaster restart + -/etc/init.d/funcd restart + sdist: messages python setup.py sdist |