History

Revert "Fix freshness in the present .git case"

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)

malc committed 6 years ago

Commit c54c7191 parent 362ef7f1 file · +1 −4Browse files

Unified · Split

build.bash+1−4
@@ -41,10 +41,7 @@ mbt=${mbt:-native} · 40 unmodified lines
41mulibst="$mudir/build/$mbt/libs"41mulibst="$mudir/build/$mbt/libs"
42mulibs="$mudir/build/$mbt/libmupdf.a $mudir/build/$mbt/libmupdf-third.a"42mulibs="$mudir/build/$mbt/libmupdf.a $mudir/build/$mbt/libmupdf-third.a"
43 43
44test -d $mudir/.git || keycmd="make -C $mudir -q build=$mbt libs" \44keycmd="make -C $mudir -q build=$mbt libs && digest $mulibs"
45 && keycmd="(cd $mudir >/dev/null; git describe --tags --dirty)"
46
47keycmd="$keycmd; digest $mulibs"
48isfresh "$mulibst" "$(eval $keycmd)" || (45isfresh "$mulibst" "$(eval $keycmd)" || (
49 make -C "$mudir" build=$mbt -j $mjobs libs46 make -C "$mudir" build=$mbt -j $mjobs libs
50 eval $keycmd >${mulibst}.past47 eval $keycmd >${mulibst}.past

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t