Skip to content

Commit

Permalink
Makefile: remaining hg mentions -> git
Browse files Browse the repository at this point in the history
Turn remaining mentions of hg into corresponding git commands.

Signed-off-by: Gerwin Klein <[email protected]>
  • Loading branch information
lsf37 committed Mar 24, 2024
1 parent 091ae43 commit 0b6d1c3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
#
# For usage hints, "make help"
#
# To create a LaTeX diff against the hg "tip" revision, use the target
# To create a LaTeX diff against the git HEAD revision, use the target
# "diff" (or "viewdiff").
# To use a revision other than "tip", speciff DIFF=x on the
# To use a revision other than HEAD, speciff DIFF=x on the
# make command line to choose the revision x.
#

Expand Down Expand Up @@ -190,7 +190,7 @@ clean:

realclean: clean
rm -f *~ *.pdf *.tgz $(Bib)
hg revert $(Bib)
git checkout $(Bib)

tar: realclean
( p=`pwd` && d=`basename "$$p"` && cd .. && \
Expand All @@ -206,13 +206,13 @@ help:

##############################################################################

DIFF ?= tip
DIFF ?= HEAD

%-diff.dvi: %-diff.tex

%-diff.tex: %.tex FORCE
@echo "====> Retrieving revision $(DIFF) of $<"
hg cat -r $(DIFF) $< > $(@:-diff.tex=-$(DIFF)-diff.tex)
git show $(DIFF):$< > $(@:-diff.tex=-$(DIFF)-diff.tex)
@echo "====> Creating diff of revision $(DIFF) of $<"
$(LaTeXdiff) $(Diffopts) $(@:-diff.tex=-$(DIFF)-diff.tex) $< | \
${RmCR} > $@
Expand Down

0 comments on commit 0b6d1c3

Please sign in to comment.