diff options
| author | Alexander Korotkov | 2019-03-20 08:09:07 +0000 |
|---|---|---|
| committer | Alexander Korotkov | 2019-03-20 08:13:34 +0000 |
| commit | 550b9d26f80fa3048f2d5883f0779ed29465960a (patch) | |
| tree | 39d0ba7912641a7a26c56608b065cc4f6342ad6e /src/include/Makefile | |
| parent | 641fde25233ef3ecc3b8101fe287eea9fceba6fd (diff) | |
Get rid of jsonpath_gram.h and jsonpath_scanner.h
Jsonpath grammar and scanner are both quite small. It doesn't worth complexity
to compile them separately. This commit makes grammar and scanner be compiled
at once. Therefore, jsonpath_gram.h and jsonpath_gram.h are no longer needed.
This commit also does some reorganization of code in jsonpath_gram.y.
Discussion: https://postgr.es/m/d47b2023-3ecb-5f04-d253-d557547cf74f%402ndQuadrant.com
Diffstat (limited to 'src/include/Makefile')
| -rw-r--r-- | src/include/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/Makefile b/src/include/Makefile index 652f6dc6cc3..c557375ae31 100644 --- a/src/include/Makefile +++ b/src/include/Makefile @@ -54,7 +54,7 @@ install: all installdirs cp $(srcdir)/$$dir/*.h '$(DESTDIR)$(includedir_server)'/$$dir/ || exit; \ done ifeq ($(vpath_build),yes) - for file in catalog/schemapg.h catalog/pg_*_d.h parser/gram.h storage/lwlocknames.h utils/probes.h utils/jsonpath_gram.h; do \ + for file in catalog/schemapg.h catalog/pg_*_d.h parser/gram.h storage/lwlocknames.h utils/probes.h; do \ cp $$file '$(DESTDIR)$(includedir_server)'/$$file || exit; \ done endif @@ -78,7 +78,7 @@ uninstall: clean: rm -f utils/fmgroids.h utils/fmgrprotos.h utils/errcodes.h utils/header-stamp - rm -f parser/gram.h storage/lwlocknames.h utils/probes.h utils/jsonpath_gram.h + rm -f parser/gram.h storage/lwlocknames.h utils/probes.h rm -f catalog/schemapg.h catalog/pg_*_d.h catalog/header-stamp distclean maintainer-clean: clean |
