-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathMakefile
30 lines (26 loc) · 1.12 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
# This is a very simple Makefile that calls 'gradlew' to do the heavy lifting.
default: archive
release:
./gradlew --warning-mode=all assembleRelease
debug:
./gradlew --warning-mode=all assembleDebug
lint:
./gradlew --warning-mode=all lint
archive:
./gradlew --warning-mode=all publishReleasePublicationToLocalRepository
sync: archive
rsync -av --chmod=g+w --chown=:gs-web \
$(HOME)/MAVEN/com/artifex/mupdf/fitz/$(shell git describe --tags)/ \
ghostscript.com:/var/www/maven.ghostscript.com/com/artifex/mupdf/fitz/$(shell git describe --tags)/
rsync -av --chmod=g+w --chown=:gs-web \
$(HOME)/MAVEN/com/artifex/mupdf/fitz/maven-metadata.xml* \
ghostscript.com:/var/www/maven.ghostscript.com/com/artifex/mupdf/fitz/
tarball: release
cd build/intermediates/ndkBuild/release/obj/local; \
zip -q -r ../../../../../../fitz-symbols-$(shell git describe --tags).zip *
synctarball: tarball
rsync -av --chmod=g+w --chown=:gs-web \
fitz-symbols-$(shell git describe --tags).zip \
ghostscript.com:/var/www/mupdf.com/downloads/archive/fitz-symbols-$(shell git describe --tags).zip
clean:
rm -rf .cxx .externalNativeBuild .gradle build