blob: 9999fa640f4179deace1a2a8fefd44ab3b71387a (
plain)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
DEVBIN=../../bin
PKG=postgresql-prep
REPACKAGESWMOPTS=
REPACKAGEDEBIANOPTS=
INS= ../install
INSSTG= $(INS)/stage
INSCOM= $(INS)/common
all:
clean-stage:
rm -rf $(INSSTG)
clean-common:
rm -rf $(INSCOM)
clean:
rm -rf $(INS) testlock/testlock
testlock/testlock:
cd testlock && make testlock
build: testlock/testlock
stage: clean-stage clean-common testlock/testlock
mkdir -p $(INS)
find stage ! -name makefile ! -name '*~' | cpio -pudmv $(INS)
find common ! -name makefile ! -name '*~' | cpio -pudmv $(INS)
cp -p testlock/testlock $(INSSTG)/opt/app/postgresql-prep/bin/testlock
chmod a+x $(INSSTG)/opt/app/postgresql-prep/bin/*
cp -p repackage.* $(INS)
debian-verify: stage
repackage -b debian $(REPACKAGEDEBIANOPTS) -d $(INS)
@echo debian verify built
debian: stage
repackage -y repackage.json -b debian -d $(INS) -u
# repackage -y repackage.json -b debian -d $(INS) -u -B LATEST
@echo debian built
upload-javadocs:
@echo nothing to do here
|