Skip to content

Commit 58c9f56

Browse files
akorotkovzilder
authored andcommitted
pathman: Fix makefile.
1 parent 685dafc commit 58c9f56

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

contrib/pathman/Makefile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ DATA = pathman--0.1.sql
99
PGFILEDESC = "pathman - partitioning tool"
1010

1111
REGRESS = pathman
12-
13-
$(EXTENSION)--$(EXTVERSION).sql: sql/init.sql sql/hash.sql sql/range.sql
14-
cat $^ > $@
12+
EXTRA_CLEAN = $(EXTENSION)--$(EXTVERSION).sql
1513

1614
ifdef USE_PGXS
1715
PG_CONFIG = pg_config
@@ -22,4 +20,7 @@ subdir = contrib/pathman
2220
top_builddir = ../..
2321
include $(top_builddir)/src/Makefile.global
2422
include $(top_srcdir)/contrib/contrib-global.mk
25-
endif
23+
endif
24+
25+
$(EXTENSION)--$(EXTVERSION).sql: sql/init.sql sql/hash.sql sql/range.sql
26+
cat $^ > $@

0 commit comments

Comments
 (0)