Skip to content

Commit 1eda660

Browse files
committed
Cleanups
1 parent 35b74b8 commit 1eda660

File tree

2 files changed

+281
-255
lines changed

2 files changed

+281
-255
lines changed

Makefile

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11

2+
# If you change the major or minor version, remember to edit
3+
# `postgres_protobuf.control` too.
24
# To release a new version, change these numbers and
3-
# run ./build-and-test.sh to update the test cases
5+
# run ./build-and-test.sh to update the test cases.
46
EXT_VERSION_MAJOR = 0
57
EXT_VERSION_MINOR = 1
68
EXT_VERSION_PATCHLEVEL = 2
@@ -48,13 +50,16 @@ $(OBJS) $(BC_FILES): $(PROTOC)
4850
# Good enough for a small project.
4951
$(OBJS) $(BC_FILES): $(wildcard *.hpp)
5052

53+
# Changes to this makefile should also trigger a recompile
54+
$(OBJS) $(BC_FILES): Makefile
55+
5156
$(PROTOC):
5257
./build-protobuf-library.sh
5358

54-
sql/postgres_protobuf.sql: generate_test_cases.rb $(DESC_SET_FILES)
59+
sql/postgres_protobuf.sql: generate_test_cases.rb $(DESC_SET_FILES) Makefile
5560
env PROTOC=$(PROTOC) ./generate_test_cases.rb sql
5661

57-
expected/postgres_protobuf.out: generate_test_cases.rb $(DESC_SET_FILES)
62+
expected/postgres_protobuf.out: generate_test_cases.rb $(DESC_SET_FILES) Makefile
5863
env PROTOC=$(PROTOC) ./generate_test_cases.rb expected-output
5964

6065
%.pb: %.proto $(PROTOC)

0 commit comments

Comments
 (0)