forked from Softmotions/ejdb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
44 lines (31 loc) · 1.13 KB
/
Makefile
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
all: init
$(MAKE) -C ./tcejdb
clean:
- $(MAKE) -C ./tcejdb clean
- rm -rf ./build
- rm -rf ./var/*
- rm -f *.upload
- rm -f libtcejdb*.tar.gz libtcejdb*.deb libtcejdb*.changes libtcejdb*.build libtcejdb*.dsc
- rm -f python*.tar.gz python*.deb python*.changes python*.build python*.dsc
- rm -f lua*.tar.gz lua*.deb lua*.changes lua*.build lua*.dsc
deb-packages: deb-packages-tcejdb deb-packages-pyejdb deb-packages-luaejdb;
deb-packages-tcejdb: init
$(MAKE) -C ./tcejdb deb-packages
deb-packages-pyejdb: init
$(MAKE) -C ./pyejdb deb-packages
deb-packages-luaejdb: init
$(MAKE) -C ./luaejdb deb-packages
deb-source-packages:
$(MAKE) -C ./ deb-packages DEBUILD_OPTS="-S"
deb-source-packages-tcejdb:
$(MAKE) -C ./ deb-packages-tcejdb DEBUILD_OPTS="-S"
deb-source-packages-pyejdb:
$(MAKE) -C ./ deb-packages-pyejdb DEBUILD_OPTS="-S"
deb-source-packages-luaejdb:
$(MAKE) -C ./ deb-packages-luaejdb DEBUILD_OPTS="-S"
init:
cd ./tcejdb && ./configure
$(MAKE) -C ./tcejdb version
- cp ./tcejdb/debian/changelog ./Changelog
- cp ./tcejdb/debian/changelog ./tcejdb/Changelog
.PHONY: all clean deb-packages deb-source-packages init initdeb