summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/latexdiff/Makefile
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-05-28 22:03:10 +0000
committerKarl Berry <karl@freefriends.org>2020-05-28 22:03:10 +0000
commitc88a7b89c9b0fb65a94c28f07ba277decc224f74 (patch)
treef05afd4f5caa6320f49d2e008388273120626e18 /Master/texmf-dist/doc/support/latexdiff/Makefile
parent9415b353a72ea180197116010c5cbc39af3ae57e (diff)
latexdiff (28may20)
git-svn-id: svn://tug.org/texlive/trunk@55328 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/support/latexdiff/Makefile')
-rw-r--r--Master/texmf-dist/doc/support/latexdiff/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/support/latexdiff/Makefile b/Master/texmf-dist/doc/support/latexdiff/Makefile
index 143ddd213c2..cc5eb5ab797 100644
--- a/Master/texmf-dist/doc/support/latexdiff/Makefile
+++ b/Master/texmf-dist/doc/support/latexdiff/Makefile
@@ -12,7 +12,7 @@ default:
@echo " of the PERL package Algorithm::Diff available from "
@echo " the PERL archive www.cpan.org)"
@echo " "
- @echo "To install fast version (using UNIX diff) type: make install fast "
+ @echo "To install fast version (using UNIX diff) type: make install-fast "
@echo " "
@echo "To install the version which uses the system Algorithm::Diff package type: make install-ext"
@echo " "
@@ -62,3 +62,13 @@ test-fast:
@echo "latexdiff example/example-draft.tex example/example-rev.tex (stand-alone version)"
./latexdiff-fast -V example/example-draft.tex example/example-rev.tex > example/example-diff.tex
@echo "Difference file created: example/example-diff.tex"
+
+uninstall:
+# -f is needed to ignore missing files
+ @rm -f $(INSTALLPATH)/bin/latexdiff{,-cvs,-git,-hg,-rcs,-so,-svn,-vc,-fast} $(INSTALLPATH)/bin/latexrevise
+ @rm -f $(INSTALLPATH)/man/man1/latex{diff{,-vc},revise}.1
+# maybe remove potentially empty directories
+ @rmdir --ignore-fail-on-non-empty $(INSTALLPATH)/bin
+ @rmdir --ignore-fail-on-non-empty $(INSTALLPATH)/man/man1
+ @rmdir --ignore-fail-on-non-empty $(INSTALLPATH)/man
+ @rmdir --ignore-fail-on-non-empty $(INSTALLPATH)