From 1a04b752443d805ebe19fa9748becb35c4aeaff8 Mon Sep 17 00:00:00 2001 From: Adrian Likins Date: Thu, 27 Sep 2007 13:13:03 -0400 Subject: 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 --- Makefile | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6c3a013..bcb54e2 100755 --- a/Makefile +++ b/Makefile @@ -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 -- cgit