Skip to content

Commit

Permalink
Use DATA_built to add the main SQL file
Browse files Browse the repository at this point in the history
  • Loading branch information
theory committed Jul 19, 2024
1 parent 804f954 commit a9e2c07
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ DISTVERSION = $(shell grep -m 1 '[[:space:]]\{3\}"version":' META.json | \

MODULEDIR = $(EXTENSION)
DATA = $(wildcard sql/*.sql)
DATA_built = sql/$(EXTENSION)--$(EXTVERSION).sql
DOCS = $(wildcard doc/*.mmd)
TESTS = $(wildcard test/sql/*.sql)
REGRESS = $(patsubst test/sql/%.sql,%,$(TESTS))
Expand All @@ -23,8 +24,6 @@ endif
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)

all: sql/$(EXTENSION)--$(EXTVERSION).sql

sql/$(EXTENSION)--$(EXTVERSION).sql: sql/$(EXTENSION).sql
cp $< $@

Expand Down

0 comments on commit a9e2c07

Please sign in to comment.