File: Makefile

package info (click to toggle)
skytools 2.1.8-2.2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,980 kB
  • ctags: 1,543
  • sloc: sql: 6,635; python: 6,237; ansic: 2,799; makefile: 308; sh: 268
file content (27 lines) | stat: -rw-r--r-- 601 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

DATA_built = londiste.sql londiste.upgrade.sql
DOCS = README.londiste

FUNCS = $(wildcard functions/*.sql)
SRCS = structure/tables.sql structure/grants.sql structure/types.sql $(FUNCS)

REGRESS = londiste_install londiste_provider londiste_subscriber londiste_fkeys
# londiste_denytrigger
REGRESS_OPTS = --load-language=plpythonu --load-language=plpgsql

include ../../config.mak

include $(PGXS)

londiste.sql: $(SRCS)
	cat $(SRCS) > $@

londiste.upgrade.sql: $(FUNCS)
	cat $(FUNCS) > $@

test: londiste.sql
	$(MAKE) installcheck || { less regression.diffs; exit 1; }

ack:
	cp results/* expected/