From 5c07c291c74050bfa74a661c1e3a9a753b1f221c Mon Sep 17 00:00:00 2001 From: Ebrahim Byagowi Date: Sat, 4 Jul 2020 04:33:46 +0430 Subject: [PATCH] [make] use sed the way autotools used to generate hb-version.h Left from 1853f84 and now exactly is like 4fc6189a329c --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 85ab00821..c18adac2d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -98,7 +98,7 @@ BUILT_SOURCES += \ hb-version.h $(srcdir)/hb-version.h: hb-version.h.in $(top_srcdir)/configure.ac - $(AM_V_GEN) $(srcdir)/gen-hb-version.py $(HB_VERSION) "$<" "$@" \ + $(AM_V_GEN) $(SED) \ -e 's/[@]HB_VERSION_MAJOR@/$(HB_VERSION_MAJOR)/' \ -e 's/[@]HB_VERSION_MINOR@/$(HB_VERSION_MINOR)/' \ -e 's/[@]HB_VERSION_MICRO@/$(HB_VERSION_MICRO)/' \