steffen: server/php-smarty Makefile,1.3,1.4

cvs at intevation.de cvs at intevation.de
Tue Dec 20 10:53:51 CET 2005


Author: steffen

Update of /kolabrepository/server/php-smarty
In directory doto:/tmp/cvs-serv20355/php-smarty

Modified Files:
	Makefile 
Log Message:
Automated build from toplevel

Index: Makefile
===================================================================
RCS file: /kolabrepository/server/php-smarty/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Makefile	3 Oct 2005 03:03:11 -0000	1.3
+++ Makefile	20 Dec 2005 09:53:48 -0000	1.4
@@ -1,17 +1,23 @@
 RPM = /kolab/bin/openpkg rpm
 NAME = Smarty
-RPMNAME = php-smarty
+PACKAGE = php-smarty
 VERSION = 2.6.10
+RELEASE = 20051003
+KOLABRELEASE = $(RELEASE)
 
 ifeq "x$(KOLABRPMSRC)" "x"
   KOLABRPMSRC = /kolab/RPM/SRC
 endif
 
 all:
-	test -d $(KOLABRPMSRC)/$(RPMNAME) || mkdir $(KOLABRPMSRC)/$(RPMNAME)
-	cd $(KOLABRPMSRC)/$(RPMNAME) && wget -c "http://smarty.php.net/distributions/$(NAME)-$(VERSION).tar.gz" 
+	test -d $(KOLABRPMSRC)/$(PACKAGE) || mkdir $(KOLABRPMSRC)/$(PACKAGE)
+	cd $(KOLABRPMSRC)/$(PACKAGE) && wget -c "http://smarty.php.net/distributions/$(NAME)-$(VERSION).tar.gz" 
+
+	cp $(PACKAGE).spec $(KOLABRPMSRC)/$(PACKAGE)
+	cd $(KOLABRPMSRC)/$(PACKAGE) && $(RPM) -ba $(PACKAGE).spec
+
+dist: all
+	cp $(KOLABRPMSRC)/../PKG/$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm ../stage/
 
-	cp $(RPMNAME).spec $(KOLABRPMSRC)/$(RPMNAME)
-	cd $(KOLABRPMSRC)/$(RPMNAME) && $(RPM) -ba $(RPMNAME).spec
 binary:
-	$(RPM) -bB $(RPMNAME).spec
+	$(RPM) -bB $(PACKAGE).spec





More information about the commits mailing list