-
Notifications
You must be signed in to change notification settings - Fork 5
/
Makefile
56 lines (38 loc) · 983 Bytes
/
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
45
46
47
48
49
50
51
52
53
54
55
-include i2pversion
-include i2pversion_override
-include config.mk
preset=`rm .version; make version`
-include .version
PROFILE_VERSION=$(VERSIONMAJOR).$(VERSIONMINOR).$(VERSIONBUILD)
all: version install.exe
fmt:
find . -name '*.java' -exec clang-format -i {} \;
version:
./buildscripts/version.sh
jpackage: version I2P build/I2P all
help: version
@echo "I2P-Easy-Install-Bundle-$(PROFILE_VERSION)"
@echo "$(I2P_VERSION)"
@echo "$(MAJOR).$(MINOR).$(BUILD)"
@echo "$(preset)"
install.exe:
./buildscripts/unsigned.sh
distclean: clean
rm -rf I2P
I2P:
./buildscripts/build.sh
build/I2P: I2P build
cp -v I2P build/I2P
build/I2P: build/I2P
#
# Warning: a displayed license file of more than 28752 bytes
# will cause makensis V3.03 to crash.
# Possibly related: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895064
#
build/licenses: build
./buildscripts/licenses.sh
clean:
./buildscripts/clean.sh
build:
@echo "creating build directory"
mkdir -p build