forked from cory/tildefriends
Trim down dist sizes by filtering zip contents more effectively.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4646 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
parent
e54bd316d5
commit
5a0c77d06a
@ -448,7 +448,7 @@ $(SODIUM_OBJS): CFLAGS += \
|
|||||||
-Wno-attributes \
|
-Wno-attributes \
|
||||||
-Ideps/libsodium/builds/msvc \
|
-Ideps/libsodium/builds/msvc \
|
||||||
-Ideps/libsodium/src/libsodium/include/sodium
|
-Ideps/libsodium/src/libsodium/include/sodium
|
||||||
#(SODIUM_OBJS_unix): CFLAGS += \
|
$(SODIUM_OBJS_unix): CFLAGS += \
|
||||||
-DHAVE_ALLOCA_H
|
-DHAVE_ALLOCA_H
|
||||||
|
|
||||||
SQLITE_SOURCES := deps/sqlite/sqlite3.c
|
SQLITE_SOURCES := deps/sqlite/sqlite3.c
|
||||||
@ -700,7 +700,7 @@ PACKAGE_DIRS := \
|
|||||||
deps/codemirror/ \
|
deps/codemirror/ \
|
||||||
deps/lit/
|
deps/lit/
|
||||||
|
|
||||||
RAW_FILES := $(filter-out apps/gg% apps/welcome%, $(shell find $(PACKAGE_DIRS) -type f))
|
RAW_FILES := $(filter-out apps/gg% apps/welcome% %.map, $(shell find $(PACKAGE_DIRS) -type f))
|
||||||
|
|
||||||
out/apk/TildeFriends-arm-debug.unsigned.apk: BUILD_TYPE := debug
|
out/apk/TildeFriends-arm-debug.unsigned.apk: BUILD_TYPE := debug
|
||||||
out/apk/TildeFriends-arm-release.unsigned.apk: BUILD_TYPE := release
|
out/apk/TildeFriends-arm-release.unsigned.apk: BUILD_TYPE := release
|
||||||
@ -757,7 +757,7 @@ out/%.app/tildefriends.png: src/ios/tildefriends.png
|
|||||||
@cp -v $< $@
|
@cp -v $< $@
|
||||||
|
|
||||||
out/%/data.zip: $(RAW_FILES)
|
out/%/data.zip: $(RAW_FILES)
|
||||||
@zip -u $@ -q -9 -x '*.map' -r $(PACKAGE_DIRS) $(RAW_FILES)
|
@zip -u $@ -q -9 $(RAW_FILES)
|
||||||
|
|
||||||
out/tildefriends-%.app/tildefriends: out/%/tildefriends out/tildefriends-%.app/Info.plist out/tildefriends-%.app/tildefriends.png out/tildefriends-%.app/data.zip
|
out/tildefriends-%.app/tildefriends: out/%/tildefriends out/tildefriends-%.app/Info.plist out/tildefriends-%.app/tildefriends.png out/tildefriends-%.app/data.zip
|
||||||
@mkdir -p $(dir $@)
|
@mkdir -p $(dir $@)
|
||||||
|
Loading…
Reference in New Issue
Block a user