X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=jni%2FAndroid.mk;h=d8fdd42e9a18e28e9edd964279ce513225366eab;hb=08700dbe7f13957c3c0c9793315c06ceb3a06886;hp=50aa696902ff26b6b6b36ec8fc18a86c9b55eac4;hpb=fa5898eb14e4561615423a39dd759e3bb9a1eede;p=pcsx_rearmed.git diff --git a/jni/Android.mk b/jni/Android.mk index 50aa6969..d8fdd42e 100644 --- a/jni/Android.mk +++ b/jni/Android.mk @@ -1,6 +1,6 @@ LOCAL_PATH := $(call my-dir) -$(shell cd "$(LOCAL_PATH)" && ((git describe || echo) | sed -e 's/.*/#define REV "\0"/' > ../frontend/revision.h_)) +$(shell cd "$(LOCAL_PATH)" && ((git describe --always || echo) | sed -e 's/.*/#define REV "\0"/' > ../frontend/revision.h_)) $(shell cd "$(LOCAL_PATH)" && (diff -q ../frontend/revision.h_ ../frontend/revision.h > /dev/null 2>&1 || cp ../frontend/revision.h_ ../frontend/revision.h)) $(shell cd "$(LOCAL_PATH)" && (rm ../frontend/revision.h_))