Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 9461b08

Browse files
committed
Store generated .sql files in repository.
Generate .sql files only once.
1 parent 18ba2d8 commit 9461b08

File tree

4 files changed

+2615
-15
lines changed

4 files changed

+2615
-15
lines changed

.gitignore

-4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,3 @@ bin
1111
include
1212
lib
1313
pip-selfcheck.json
14-
15-
# Generated files
16-
rum--1.0--1.1.sql
17-
rum--1.1.sql

Makefile

-11
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ REGRESS = rum rum_hash ruminv timestamp orderby orderby_hash altorder \
1919
macaddr inet cidr text varchar char bytea bit varbit \
2020
numeric
2121

22-
EXTRA_CLEAN += rum--1.1.sql rum--1.0--1.1.sql
23-
2422
LDFLAGS_SL += $(filter -lm, $(LIBS))
2523

2624
ifdef USE_PGXS
@@ -37,15 +35,6 @@ endif
3735
wal-check: temp-install
3836
$(prove_check)
3937

40-
all: rum--1.1.sql
41-
42-
#9.6 requires 1.1 file but 10.0 could live with 1.0 + 1.0-1.1 files
43-
rum--1.1.sql: rum--1.0.sql rum--1.0--1.1.sql
44-
cat rum--1.0.sql rum--1.0--1.1.sql > rum--1.1.sql
45-
46-
rum--1.0--1.1.sql: Makefile gen_rum_sql--1.0--1.1.pl
47-
perl gen_rum_sql--1.0--1.1.pl > rum--1.0--1.1.sql
48-
4938
install: installincludes
5039

5140
installincludes:

0 commit comments

Comments
 (0)