aboutsummaryrefslogtreecommitdiffstats
path: root/pgaas-post/src/makefile
blob: 222fcb3a296ccc9737744696b1d9c823d1784bc0 (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
DEVBIN=../../bin
PKG=pgaas-post
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)

build:

stage: clean-stage clean-common
	find common ! -name makefile ! -name '*~' | cpio -pudmv $(INS)
	find stage ! -name makefile ! -name '*~' | cpio -pudmv $(INS)
	chmod a+x $(INSSTG)/opt/app/pgaas-post/bin/*
	cp -p repackage.* $(INS)


debian: stage
	repackage -b debian -d $(INS) -u
	repackage -b debian -d $(INS) -u -B LATEST
	@echo debian built

upload-javadocs: 
	@echo nothing to do here