This reverts commit 362ef7fd6102384eebd8b2213446f3dbe91d86c6. One of the reasons is that past will only record that tree was dirty in the past, not how... (only make really knows that)
Unified · Split
| @@ -41,10 +41,7 @@ mbt=${mbt:-native} · 40 unmodified lines | ||
| 41 | 41 | mulibst="$mudir/build/$mbt/libs" |
| 42 | 42 | mulibs="$mudir/build/$mbt/libmupdf.a $mudir/build/$mbt/libmupdf-third.a" |
| 43 | 43 | |
| 44 | −test -d $mudir/.git || keycmd="make -C $mudir -q build=$mbt libs" \ | |
| 45 | − && keycmd="(cd $mudir >/dev/null; git describe --tags --dirty)" | |
| 46 | − | |
| 47 | −keycmd="$keycmd; digest $mulibs" | |
| 44 | +keycmd="make -C $mudir -q build=$mbt libs && digest $mulibs" | |
| 48 | 45 | isfresh "$mulibst" "$(eval $keycmd)" || ( |
| 49 | 46 | make -C "$mudir" build=$mbt -j $mjobs libs |
| 50 | 47 | eval $keycmd >${mulibst}.past |