diff options
author | Andres Freund | 2018-11-15 19:35:07 +0000 |
---|---|---|
committer | Andres Freund | 2018-11-15 19:38:03 +0000 |
commit | 6a744413ea0c0c114348c4c010aa9f909c83d3f3 (patch) | |
tree | bcf5e66cb033331f08fb9615ac55d5bb8b854c01 /src | |
parent | 34c9e455d0efcada8821ffaab61741c2e1153458 (diff) |
Make reformat-dat-files, reformat-dat-files VPATH safe.
The reformat_dat_file.pl script, added by 372728b0d49552641, supported
all the necessary options to make it work in a VPATH build, but the
makefile invocations didn't take VPATH into account. Fix that.
Discussion: https://postgr.es/m/[email protected]
Backpatch: 11-, where 372728b0d49552641 was merged
Diffstat (limited to 'src')
-rw-r--r-- | src/include/catalog/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/catalog/Makefile b/src/include/catalog/Makefile index 1da3ea7f441..c545c6bcdcb 100644 --- a/src/include/catalog/Makefile +++ b/src/include/catalog/Makefile @@ -20,12 +20,12 @@ catalogdir = $(top_srcdir)/src/backend/catalog # catalog data files in our standard format. This includes collapsing # out any entries that are redundant with a BKI_DEFAULT annotation. reformat-dat-files: - $(PERL) -I $(catalogdir) reformat_dat_file.pl pg_*.dat + $(PERL) -I $(catalogdir) $(srcdir)/reformat_dat_file.pl -o $(srcdir) $(srcdir)/pg_*.dat # 'make expand-dat-files' is a convenience target for expanding out all # default values in the catalog data files. This should be run before # altering or removing any BKI_DEFAULT annotation. expand-dat-files: - $(PERL) -I $(catalogdir) reformat_dat_file.pl pg_*.dat --full-tuples + $(PERL) -I $(catalogdir) $(srcdir)/reformat_dat_file.pl -o $(srcdir) $(srcdir)/pg_*.dat --full-tuples .PHONY: reformat-dat-files expand-dat-files |