mirror of
https://github.com/hectorm/hblock.git
synced 2026-04-20 22:16:34 +05:30
Simplified zip build
This commit is contained in:
parent
1bd8abae3b
commit
d882a7bd62
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
|
@ -27,12 +27,12 @@ dist/hosts.gz:
|
|||
build-android: build-hosts dist/hosts_android.zip
|
||||
dist/hosts_android.zip:
|
||||
cd "$(MKFILE_DIR)"/resources/android/ && zip -r "$(WORK_DIR)"/dist/hosts_android.zip ./
|
||||
cd "$(WORK_DIR)"/dist/ && zip -r "$(WORK_DIR)"/dist/hosts_android.zip hosts
|
||||
cd dist/ && zip -r hosts_android.zip hosts
|
||||
|
||||
build-windows: build-hosts dist/hosts_windows.zip
|
||||
dist/hosts_windows.zip:
|
||||
cd "$(MKFILE_DIR)"/resources/windows/ && zip -r -l "$(WORK_DIR)"/dist/hosts_windows.zip ./
|
||||
cd "$(WORK_DIR)"/dist/ && zip -r -l "$(WORK_DIR)"/dist/hosts_windows.zip hosts
|
||||
cd "$(MKFILE_DIR)"/resources/windows/ && zip -rl "$(WORK_DIR)"/dist/hosts_windows.zip ./
|
||||
cd dist/ && zip -rl hosts_windows.zip hosts
|
||||
|
||||
stats: stats-tlds stats-suffixes
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue