summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAdrian Likins <alikins@redhat.com>2007-09-27 13:30:15 -0400
committerAdrian Likins <alikins@redhat.com>2007-09-27 13:30:15 -0400
commit72f973619e507a240359ed87c6f3597ed8bf22b4 (patch)
tree3f4c004d2813f983a12c31101a84051835f81503 /Makefile
parent1a04b752443d805ebe19fa9748becb35c4aeaff8 (diff)
downloadfunc-72f973619e507a240359ed87c6f3597ed8bf22b4.zip
func-72f973619e507a240359ed87c6f3597ed8bf22b4.tar.gz
func-72f973619e507a240359ed87c6f3597ed8bf22b4.tar.xz
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
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile16
1 files changed, 15 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bcb54e2..928adeb 100755
--- a/Makefile
+++ b/Makefile
@@ -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