Skip to content

Commit

Permalink
Use a static filename for the header of RELEASE_SQL
Browse files Browse the repository at this point in the history
One place less to update when bumping the version number.
  • Loading branch information
df7cb committed Oct 5, 2023
1 parent c83ed85 commit b10ce01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ OBJS += src/healpix.o src/moc.o src/process_moc.o \
healpix_bare/healpix_bare.o
endif

DATA_built = $(RELEASE_SQL) \
DATA_built = \
pg_sphere--1.2.0--1.2.1.sql \
pg_sphere--1.2.1--1.2.2.sql \
pg_sphere--1.2.2--1.2.3.sql \
Expand Down Expand Up @@ -109,8 +109,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 $^ > $@

ifneq ($(USE_HEALPIX),0)
Expand Down
File renamed without changes.

0 comments on commit b10ce01

Please sign in to comment.