Skip to content

Commit e55140c

Browse files
committed
Remove autogeneration, again
1 parent 25c7c0e commit e55140c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ endif
1717
PGXS := $(shell $(PG_CONFIG) --pgxs)
1818
include $(PGXS)
1919

20-
serialize.c deserialize.c: gen_parser.py nodes.h
21-
python gen_parser.py nodes.h `$(PG_CONFIG) --includedir-server`
20+
dir=`$(PG_CONFIG) --includedir-server`
2221
else
2322
subdir = contrib/sr_plan
2423
top_builddir = ../..
2524
include $(top_builddir)/src/Makefile.global
2625
include $(top_srcdir)/contrib/contrib-global.mk
2726

28-
serialize.c deserialize.c: gen_parser.py nodes.h
29-
python gen_parser.py nodes.h '$(top_srcdir)/src/include'
27+
dir='$(top_srcdir)/src/include'
3028
endif
3129

32-
all: serialize.c
30+
# uncomment this if you need autogeneration
31+
#serialize.c deserialize.c: gen_parser.py nodes.h
32+
# python gen_parser.py nodes.h $(dir)

0 commit comments

Comments
 (0)