diff options
author | Alasdair Kergon <agk@redhat.com> | 2010-04-30 13:58:08 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2010-04-30 13:58:08 +0000 |
commit | aaa2e0468f2d2199ecf425d7bc966cc336b4f574 (patch) | |
tree | ef999d0f1b466d5b6355bed20f20aaffee43a63a /make.tmpl.in | |
parent | c7fe46970069ac7ed36461638cd860902b240583 (diff) | |
download | lvm2-aaa2e0468f2d2199ecf425d7bc966cc336b4f574.tar.gz lvm2-aaa2e0468f2d2199ecf425d7bc966cc336b4f574.tar.xz lvm2-aaa2e0468f2d2199ecf425d7bc966cc336b4f574.zip |
change awk path
Diffstat (limited to 'make.tmpl.in')
-rw-r--r-- | make.tmpl.in | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/make.tmpl.in b/make.tmpl.in index 5e7f44fd..a2fe0035 100644 --- a/make.tmpl.in +++ b/make.tmpl.in @@ -28,6 +28,7 @@ GENHTML = @GENHTML@ LN_S = @LN_S@ SED = @SED@ CFLOW_CMD = @CFLOW_CMD@ +AWK = @AWK@ LIBS = @LIBS@ # Extra libraries always linked with static binaries @@ -63,7 +64,7 @@ localedir = $(DESTDIR)@LOCALEDIR@ staticdir = $(DESTDIR)@STATICDIR@ udevdir = $(DESTDIR)@udevdir@ USRLIB_RELPATH = $(shell echo $(abspath $(usrlibdir) $(libdir)) | \ - awk -f $(top_srcdir)/scripts/relpath.awk) + $(AWK) -f $(top_srcdir)/scripts/relpath.awk) # Setup vpath search paths for some suffixes vpath %.c $(srcdir) @@ -142,13 +143,13 @@ STRIP= LVM_VERSION := $(shell cat $(top_srcdir)/VERSION) LIB_VERSION_LVM := $(shell cat $(top_srcdir)/VERSION | \ - awk -F '.' '{printf "%s.%s",$$1,$$2}') + $(AWK) -F '.' '{printf "%s.%s",$$1,$$2}') LIB_VERSION_DM := $(shell cat $(top_srcdir)/VERSION_DM | \ - awk -F '.' '{printf "%s.%s",$$1,$$2}') + $(AWK) -F '.' '{printf "%s.%s",$$1,$$2}') LIB_VERSION_APP := $(shell cat $(top_srcdir)/VERSION | \ - awk -F '[(). ]' '{printf "%s.%s",$$1,$$4}') + $(AWK) -F '[(). ]' '{printf "%s.%s",$$1,$$4}') INCLUDES += -I. -I$(top_builddir)/include |