Rely on checked in generated files.
diff --git a/Makefile b/Makefile
index 4d72032..8fd4db2 100644
--- a/Makefile
+++ b/Makefile
@@ -2,17 +2,15 @@
default: debug
-generate:
- if [ -f jni/Makefile ]; then make -C jni generate; fi
-debug: generate
+debug:
./gradlew --warning-mode=all assembleDebug bundleDebug
-release: generate
+release:
./gradlew --warning-mode=all assembleRelease bundleRelease
-install: generate
+install:
./gradlew --warning-mode=all installDebug
lint:
./gradlew --warning-mode=all lint
-archive: generate
+archive:
./gradlew --warning-mode=all uploadArchives
sync: archive
rsync -av --chmod=g+w --chown=:gs-priv $(HOME)/MAVEN/com/ ghostscript.com:/var/www/maven.ghostscript.com/com/
@@ -26,6 +24,6 @@
clean:
rm -rf .gradle build
- rm -rf jni/.cxx jni/.externalNativeBuild jni/.gradle jni/build jni/libmupdf/generated
+ rm -rf jni/.cxx jni/.externalNativeBuild jni/.gradle jni/build
rm -rf lib/.gradle lib/build
rm -rf app/.gradle app/build