Commit eaa377a9 authored by Guillaume Quintard's avatar Guillaume Quintard

try to outsmart make

parent 34e660e2
......@@ -17,14 +17,15 @@ ifneq ($(filter $(DEB_HOST_ARCH),$(DISABLE_JEMALLOC_ARCH_LIST)),)
LOCAL_CONFIGURE_FLAGS += --disable-jemalloc
endif
num=\#
VARNISHD_ABI = $(shell \
printf '#include "vcs_version.h"\nVCS_Version\n' | \
printf '$(num)include "vcs_version.h"\nVCS_Version\n' | \
cpp - -Iinclude | \
tail -1 | \
tr -d '"')
VARNISHD_VRT = $(shell \
printf '#include "vdef.h"\n#include "vrt.h"\n%s.%s\n' \
printf '$(num)include "vdef.h"\n$(num)include "vrt.h"\n%s.%s\n' \
VRT_MAJOR_VERSION VRT_MINOR_VERSION | \
cpp - -Iinclude | \
tail -1 | \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment