You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@age.apache.org by sh...@apache.org on 2023/11/15 15:08:22 UTC

(age) 05/09: Converted SQL mail into multiple files.

This is an automated email from the ASF dual-hosted git repository.

shoaib88 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/age.git

commit 011c25a5fe3682bd13c7db4f7e1f2b8b572296a9
Author: Shoaib <mu...@gmail.com>
AuthorDate: Fri Oct 20 15:45:24 2023 +0200

    Converted SQL mail into multiple files.
---
 Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index e4e3f377..391041d4 100644
--- a/Makefile
+++ b/Makefile
@@ -77,7 +77,7 @@ EXTENSION = age
 
 SQLS = $(wildcard sql/*.sql)
 
-DATA_built = age--1.4.0.sql
+DATA_built = $(age_sql)
 
 # sorted in dependency order
 REGRESS = scan \
@@ -112,7 +112,7 @@ ag_regress_dir = $(srcdir)/regress
 REGRESS_OPTS = --load-extension=age --inputdir=$(ag_regress_dir) --outputdir=$(ag_regress_dir) --temp-instance=$(ag_regress_dir)/instance --port=61958 --encoding=UTF-8 --temp-config $(ag_regress_dir)/age_regression.conf
 
 ag_regress_out = instance/ log/ results/ regression.*
-EXTRA_CLEAN = $(addprefix $(ag_regress_dir)/, $(ag_regress_out)) src/backend/parser/cypher_gram.c src/include/parser/cypher_gram_def.h src/include/parser/cypher_kwlist_d.h age--1.4.0.sql
+EXTRA_CLEAN = $(addprefix $(ag_regress_dir)/, $(ag_regress_out)) src/backend/parser/cypher_gram.c src/include/parser/cypher_gram_def.h src/include/parser/cypher_kwlist_d.h $(age_sql)
 
 GEN_KEYWORDLIST = $(PERL) -I ./tools/ ./tools/gen_keywordlist.pl
 GEN_KEYWORDLIST_DEPS = ./tools/gen_keywordlist.pl tools/PerfectHash.pm
@@ -136,7 +136,7 @@ src/backend/parser/cypher_gram.c: BISONFLAGS += --defines=src/include/parser/cyp
 src/backend/parser/cypher_parser.o: src/backend/parser/cypher_gram.c
 src/backend/parser/cypher_keywords.o: src/backend/parser/cypher_gram.c
 
-age--1.4.0.sql:
+$(age_sql):
 	@cat $(SQLS) > $@
 
 src/backend/parser/ag_scanner.c: FLEX_NO_BACKUP=yes