Skip to content

Commit 0609c43

Browse files
committed
fix: Makefile not having control file dependency
1 parent 4c5eb5b commit 0609c43

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@ __pycache__/
88
valgrindlog
99
nix/nginx/logs/nginx.pid
1010
.history
11+
*.o
12+
*.bc
13+
*.control
14+
*.so

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ REGRESS_OPTS = --use-existing --inputdir=test
1010
MODULE_big = $(EXTENSION)
1111
OBJS = src/worker.o src/util.o
1212

13-
all: sql/$(EXTENSION)--$(EXTVERSION).sql
13+
all: sql/$(EXTENSION)--$(EXTVERSION).sql $(EXTENSION).control
1414

1515
sql/$(EXTENSION)--$(EXTVERSION).sql: sql/$(EXTENSION).sql
1616
cp $< $@
1717

18-
pg_net.control:
19-
sed "s/@PG_NET_VERSION@/$(EXTVERSION)/g" pg_net.control.in > pg_net.control
18+
$(EXTENSION).control:
19+
sed "s/@PG_NET_VERSION@/$(EXTVERSION)/g" $(EXTENSION).control.in > $(EXTENSION).control
2020

21-
EXTRA_CLEAN = sql/$(EXTENSION)--$(EXTVERSION).sql
21+
EXTRA_CLEAN = sql/$(EXTENSION)--$(EXTVERSION).sql $(EXTENSION).control
2222

2323
PG_CONFIG = pg_config
2424
SHLIB_LINK = -lcurl

0 commit comments

Comments
 (0)