summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-25 18:22:40 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-25 18:22:40 -0400
commite3493766701ac84e6d76257659be27c209ecb12e (patch)
tree24ed711a936f2f6a23d62bc5a71010064471dfe6 /Makefile
parent6c38c3128afd8542d086ba998494e02872781b77 (diff)
downloadfunc-e3493766701ac84e6d76257659be27c209ecb12e.zip
func-e3493766701ac84e6d76257659be27c209ecb12e.tar.gz
func-e3493766701ac84e6d76257659be27c209ecb12e.tar.xz
Adding manpages and misc spec/build cleanup
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile20
1 files changed, 9 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index 30029a5..6c3a013 100755
--- a/Makefile
+++ b/Makefile
@@ -11,14 +11,12 @@ clean:
-rm -rf dist/ build/
-rm -rf *~
-rm -rf rpm-build/
+ -rm -rf docs/*.gz
-#manpage:
-# pod2man --center="cobbler" --release="" cobbler.pod | gzip -c > cobbler.1.gz
-# pod2html cobbler.pod > cobbler.html
-
-#test:
-# python tests/tests.py
-# -rm -rf /tmp/_cobbler-*
+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
+ pod2man --center="certmaster" --release="" ./docs/certmaster.pod | gzip -c > ./docs/certmaster.1.gz
messages: minion/*.py
xgettext -k_ -kN_ -o $(MESSAGESPOT) minion/*.py
@@ -31,19 +29,19 @@ bumprelease:
setversion:
-echo "$(VERSION) $(RELEASE)" > version
-build: clean
+build:
python setup.py build -f
-install: build
+install: build manpage
python setup.py install -f
-sdist: clean messages
+sdist: messages
python setup.py sdist
new-rpms: bumprelease rpms
-rpms: sdist
+rpms: build manpage sdist
mkdir -p rpm-build
cp dist/*.gz rpm-build/
cp version rpm-build/