Fix make rule to clean all the automatically generated sql files
That should be done before create then new version file
This commit is contained in:
parent
95b052d430
commit
a74e49a3e2
@ -20,7 +20,7 @@ include $(PGXS)
|
||||
SOURCES_DATA = $(wildcard sql/*.sql)
|
||||
|
||||
$(NEW_EXTENSION_ARTIFACT): $(SOURCES_DATA)
|
||||
rm -f $(EXTENSION)--*.sql
|
||||
find . -type f -regex '.*$(EXTENSION)--[0-9]\.[0-9]\.[0-9]\.sql' | xargs rm
|
||||
cat $(SOURCES_DATA) >> $@
|
||||
|
||||
all: $(DATA)
|
||||
|
Loading…
Reference in New Issue
Block a user