summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteffen Hansen <steffen@kdab.com>2006-01-11 04:42:40 (GMT)
committerSteffen Hansen <steffen@kdab.com>2006-01-11 04:42:40 (GMT)
commit09f9d12906fd24a44a7ec0289fe7924da0d56b10 (patch)
tree62bc9dc1402c27d426397a16725651110d215b46
parent4501523d45158c21477a1bd61c79e34edb910990 (diff)
downloadperl-Kolab-09f9d12906fd24a44a7ec0289fe7924da0d56b10.tar.gz
version + updates Makefiles to build everything from the toplevel
-rw-r--r--Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 6310a8d..c998557 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,15 @@
-RPM = /kolab/bin/openpkg rpm
-VERSION = 0.9.2
-
ifeq "x$(KOLABRPMSRC)" "x"
KOLABRPMSRC = /kolab/RPM/SRC
endif
-SRCDIR=$(KOLABRPMSRC)/perl-kolab
+PACKAGE=perl-kolab
+VERSION=0.9.2
+PERLVERSION=5.8.7
+RELEASE=2.0_20051219
+
+SRCDIR=$(KOLABRPMSRC)/$(PACKAGE)
+RPM = /kolab/bin/openpkg rpm
+
all:
test -d $(SRCDIR) || mkdir $(SRCDIR)
@@ -24,3 +28,6 @@ all:
cd $(SRCDIR) && $(RPM) -ba perl-kolab.spec
binary:
$(RPM) -bB perl-kolab.spec
+
+dist: all
+ cp $(KOLABRPMSRC)/../PKG/$(PACKAGE)-$(PERLVERSION)-$(RELEASE).src.rpm ../stage/