blob: 56d7ed7f253675c65575d04b352cf19c565e45ff (
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=pgaas
REPACKAGEDEBIANOPTS=
INS= ../install
INSSTG= $(INS)/stage
INSCOM= $(INS)/common
KEEP=
all:
clean-stage:
rm -rf $(INSSTG)
clean-common:
rm -rf $(INSCOM)
clean-ins: clean-stage clean-common
rm -rf $(INS)
clean-testlock:
cd testlock && $(MAKE) clobber
clean: clean-ins clean-testlock
rm -rf *~ nohup.out
testlock/testlock:
cd testlock && $(MAKE) testlock
build: testlock/testlock
stage: build clean-stage clean-common
mkdir -p $(INS)
cd stage/opt/app/pgaas && $(MAKE) stage STAGEDIR=../../../../$(INSSTG)
cd testlock && $(MAKE) stage STAGEDIR=../$(INSSTG) DISTPATH=opt/app/pgaas
find common ! -name makefile ! -name '*~' | cpio -pudmv $(INS)
debian: stage
sed 's/$${RELLONG}/'"$$MVN_VERSION_ONLY/" < repackage.json > $(INS)/repackage.json
repackage -b debian $(REPACKAGEDEBIANOPTS) -d $(INS) -u -X "{appname}.{suffix},{appname}.{suffix}-{version},{appname}.{suffix}-{version}-{datetime}" -y $(INS)/repackage.json
@echo debian built
upload-javadocs:
@echo nothing to do here
|