From 01143682cad6ae52367143cc8759148e0cc9003f Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Thu, 5 Oct 2023 14:23:36 +0200 Subject: [PATCH] Use a static filename for the header of RELEASE_SQL One place less to update when bumping the version number. --- Makefile | 3 +-- pg_sphere--1.3.2.sql.in => pg_sphere_head.sql.in | 0 2 files changed, 1 insertion(+), 2 deletions(-) rename pg_sphere--1.3.2.sql.in => pg_sphere_head.sql.in (100%) diff --git a/Makefile b/Makefile index a016313..4051f5d 100644 --- a/Makefile +++ b/Makefile @@ -130,8 +130,7 @@ endif pg_sphere.test.sql: $(RELEASE_SQL) $(shlib) tail -n+3 $< | sed 's,MODULE_PATHNAME,$(realpath $(shlib)),g' >$@ - -$(RELEASE_SQL): $(addsuffix .in, $(RELEASE_SQL) $(PGS_SQL)) +$(RELEASE_SQL): pg_sphere_head.sql.in $(addsuffix .in, $(PGS_SQL)) cat $^ > $@ # for "create extension from unpacked*": diff --git a/pg_sphere--1.3.2.sql.in b/pg_sphere_head.sql.in similarity index 100% rename from pg_sphere--1.3.2.sql.in rename to pg_sphere_head.sql.in