Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 22 lines (16 sloc) 0.733 kb
7f1ad7a @keithf4 Changed readme to markdown file. Initial Makefile
keithf4 authored
1 EXTENSION = pg_jobmon
2 EXTVERSION = $(shell grep default_version $(EXTENSION).control | \
3 sed -e "s/default_version[[:space:]]*=[[:space:]]*'\([^']*\)'/\1/")
8fc1195 @keithf4 Fixed Makefile (tabs not spaces).
keithf4 authored
4
afddf76 @keithf4 Created pgxn preferred folder structure. Split out separate doc file fro...
keithf4 authored
5 DATA = $(filter-out $(wildcard sql/*--*.sql),$(wildcard sql/*.sql))
6 DOCS = $(wildcard doc/*.md)
7f1ad7a @keithf4 Changed readme to markdown file. Initial Makefile
keithf4 authored
7 PG_CONFIG = pg_config
aa22c84 @keithf4 v1.0.0 New, no-argument version of check_job_status(). Can now alert on ...
keithf4 authored
8 PG91 = $(shell $(PG_CONFIG) --version | egrep " 8\.| 9\.0" > /dev/null && echo no || echo yes)
7f1ad7a @keithf4 Changed readme to markdown file. Initial Makefile
keithf4 authored
9
10 ifeq ($(PG91),yes)
afddf76 @keithf4 Created pgxn preferred folder structure. Split out separate doc file fro...
keithf4 authored
11 all: sql/$(EXTENSION)--$(EXTVERSION).sql
7f1ad7a @keithf4 Changed readme to markdown file. Initial Makefile
keithf4 authored
12
f5de66f @keithf4 No code changes to extension. Restructured sql source files for easier m...
keithf4 authored
13 sql/$(EXTENSION)--$(EXTVERSION).sql: sql/tables/*.sql sql/functions/*.sql
14 cat $^ > $@
7f1ad7a @keithf4 Changed readme to markdown file. Initial Makefile
keithf4 authored
15
4b1322b @keithf4 v1.1.3 Fix 'make install' to work in PostgreSQL 9.3.x without throwing a...
keithf4 authored
16 DATA = $(wildcard updates/*--*.sql) sql/$(EXTENSION)--$(EXTVERSION).sql
afddf76 @keithf4 Created pgxn preferred folder structure. Split out separate doc file fro...
keithf4 authored
17 EXTRA_CLEAN = sql/$(EXTENSION)--$(EXTVERSION).sql
7f1ad7a @keithf4 Changed readme to markdown file. Initial Makefile
keithf4 authored
18 endif
19
20 PGXS := $(shell $(PG_CONFIG) --pgxs)
21 include $(PGXS)
Something went wrong with that request. Please try again.