[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[dm-devel] dmraid make.tmpl.in



CVSROOT:	/cvs/dm
Module name:	dmraid
Changes by:	zkabelac sourceware org	2010-05-28 12:31:40

Modified files:
	.              : make.tmpl.in 

Log message:
	Define  AWK and SED vars
	Used  $(SED) for DMRAID_LIB_VERSION

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/dmraid/make.tmpl.in.diff?cvsroot=dm&r1=1.8&r2=1.9

--- dmraid/make.tmpl.in	2010/05/28 09:17:24	1.8
+++ dmraid/make.tmpl.in	2010/05/28 12:31:39	1.9
@@ -15,6 +15,9 @@
 MKDIR_P = @MKDIR_P@
 LN_S = @LN_S@
 LIBS = @LIBS@
+AWK = @AWK@
+SED = @SED@
+
 CFLAGS += @CFLAGS@
 CLDFLAGS += @CLDFLAGS@
 LDFLAGS += @LDFLAGS@
@@ -29,6 +32,7 @@
 datarootdir = @datarootdir@
 infodir = @infodir@
 mandir = @mandir@
+usrlibdir = @usrlibdir@
 ifeq ("@KLIBC@", "no")
   libdir = @libdir@
   sbindir = @sbindir@
@@ -41,7 +45,7 @@
 
 # setup misc variables
 DMRAID_VERSION := $(shell cat $(top_srcdir)/tools/VERSION)
-DMRAID_LIB_VERSION := $(shell sed --quiet 's/^.*\(DMRAID_LIB_VERSION\)[^_].*"\(.*\)"/\2/p' $(top_srcdir)/lib/version.h)
+DMRAID_LIB_VERSION := $(shell $(SED) --quiet 's/^.*\(DMRAID_LIB_VERSION\)[^_].*"\(.*\)"/\2/p' $(top_srcdir)/lib/version.h)
 INSTALL_PROGRAM = $(INSTALL) $(STRIP)
 INSTALL_DIR = $(INSTALL) -d
 INSTALL_DATA = $(INSTALL) -m 644 -p


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]