1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00

Skip unneeded 'cat' command execution.

This commit is contained in:
Zdenek Kabelac 2010-05-11 08:43:18 +00:00
parent 75b55f1136
commit 047f82ee26

View File

@ -142,14 +142,11 @@ STRIP=
LVM_VERSION := $(shell cat $(top_srcdir)/VERSION)
LIB_VERSION_LVM := $(shell cat $(top_srcdir)/VERSION | \
$(AWK) -F '.' '{printf "%s.%s",$$1,$$2}')
LIB_VERSION_LVM := $(shell $(AWK) -F '.' '{printf "%s.%s",$$1,$$2}' $(top_srcdir)/VERSION)
LIB_VERSION_DM := $(shell cat $(top_srcdir)/VERSION_DM | \
$(AWK) -F '.' '{printf "%s.%s",$$1,$$2}')
LIB_VERSION_DM := $(shell $(AWK) -F '.' '{printf "%s.%s",$$1,$$2}' $(top_srcdir)/VERSION_DM)
LIB_VERSION_APP := $(shell cat $(top_srcdir)/VERSION | \
$(AWK) -F '[(). ]' '{printf "%s.%s",$$1,$$4}')
LIB_VERSION_APP := $(shell $(AWK) -F '[(). ]' '{printf "%s.%s",$$1,$$4}' $(top_srcdir)/VERSION)
INCLUDES += -I. -I$(top_builddir)/include