diff options
author | Adrian Likins <alikins@redhat.com> | 2007-09-27 13:30:15 -0400 |
---|---|---|
committer | Adrian Likins <alikins@redhat.com> | 2007-09-27 13:30:15 -0400 |
commit | 72f973619e507a240359ed87c6f3597ed8bf22b4 (patch) | |
tree | 3f4c004d2813f983a12c31101a84051835f81503 | |
parent | 1a04b752443d805ebe19fa9748becb35c4aeaff8 (diff) | |
download | third_party-func-72f973619e507a240359ed87c6f3597ed8bf22b4.tar.gz third_party-func-72f973619e507a240359ed87c6f3597ed8bf22b4.tar.xz third_party-func-72f973619e507a240359ed87c6f3597ed8bf22b4.zip |
more targets
make install_hardest does a clean_hardest (removes everything, and the rpm) then
builds an rpm, installs it, and starts up the daemons
-rwxr-xr-x | Makefile | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -21,6 +21,9 @@ clean_harder: -rm -rf /etc/func -rm -rf /var/lib/func +clean_hardest: + -rpm -e 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 @@ -47,10 +50,21 @@ install_hard: clean_hard install install_harder: clean_harder install -recombuild: install_harder +restart: -/etc/init.d/certmaster restart -/etc/init.d/funcd restart + +recombuild: install_harder restart + +clean_rpms: + -rpm -e func + +install_rpm: + -rpm -Uvh rpm-build/func-$(VERSION)-$(RELEASE)$(shell rpm -E "%{?dist}").noarch.rpm + +install_hardest: clean_harder clean_rpms rpms install_rpm restart + sdist: messages python setup.py sdist |