packages: cacti-template-varnish/Makefile - add SPECFILE
glen
glen at pld-linux.org
Thu Apr 15 08:45:01 CEST 2010
Author: glen Date: Thu Apr 15 06:45:00 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- add SPECFILE
---- Files affected:
packages/cacti-template-varnish:
Makefile (1.1 -> 1.2)
---- Diffs:
================================================================
Index: packages/cacti-template-varnish/Makefile
diff -u packages/cacti-template-varnish/Makefile:1.1 packages/cacti-template-varnish/Makefile:1.2
--- packages/cacti-template-varnish/Makefile:1.1 Wed Apr 14 23:34:34 2010
+++ packages/cacti-template-varnish/Makefile Thu Apr 15 08:44:55 2010
@@ -1,6 +1,7 @@
-PACKAGE_NAME := $(patsubst %.spec,%,$(wildcard *.spec))
-PACKAGE_VERSION := $(shell awk '/Version:/{print $$2}' $(PACKAGE_NAME).spec)
+SPECFILE := $(firstword $(wildcard *.spec))
+PACKAGE_NAME := $(patsubst %.spec,%,$(SPECFILE))
+PACKAGE_VERSION := $(shell awk '/Version:/{print $$2}' $(SPECFILE))
all:
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cacti-template-varnish/Makefile?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list