Skip to content

Commit b10ce01

Browse files
committed
Use a static filename for the header of RELEASE_SQL
One place less to update when bumping the version number.
1 parent c83ed85 commit b10ce01

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Diff for: Makefile

+2-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ OBJS += src/healpix.o src/moc.o src/process_moc.o \
1919
healpix_bare/healpix_bare.o
2020
endif
2121

22-
DATA_built = $(RELEASE_SQL) \
22+
DATA_built = \
2323
pg_sphere--1.2.0--1.2.1.sql \
2424
pg_sphere--1.2.1--1.2.2.sql \
2525
pg_sphere--1.2.2--1.2.3.sql \
@@ -109,8 +109,7 @@ endif
109109
pg_sphere.test.sql: $(RELEASE_SQL) $(shlib)
110110
tail -n+3 $< | sed 's,MODULE_PATHNAME,$(realpath $(shlib)),g' >$@
111111

112-
113-
$(RELEASE_SQL): $(addsuffix .in, $(RELEASE_SQL) $(PGS_SQL))
112+
$(RELEASE_SQL): pg_sphere_head.sql.in $(addsuffix .in, $(PGS_SQL))
114113
cat $^ > $@
115114

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

0 commit comments

Comments
 (0)