Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dotemacs/5120774 to your computer and use it in GitHub Desktop.
Save dotemacs/5120774 to your computer and use it in GitHub Desktop.
opendetex-2.8.1 diffs for Homebrew
--- detex.1l.orig 2013-03-08 22:06:09.000000000 +0000
+++ detex.1l 2013-03-08 22:06:51.000000000 +0000
@@ -1,4 +1,4 @@
-.TH DETEX 1L "12 August 1993" "Purdue University"
+.TH DETEX 1 "12 August 1993" "Purdue University"
.SH NAME
detex \- a filter to strip \fITeX\fP commands from a .tex file.
.SH SYNOPSIS
@@ -103,7 +103,7 @@
.B \-s
option.
.SH SEE ALSO
-tex(1L)
+tex(1)
.SH DIAGNOSTICS
Nesting of \\input is allowed but the number of opened files must not
exceed the system's limit on the number of simultaneously opened files.
--- Makefile.orig 2013-03-08 21:18:51.000000000 +0000
+++ Makefile 2013-03-08 22:51:46.000000000 +0000
@@ -130,8 +130,10 @@
# install -c -m 775 -o binary -g staff -s detex ${DESTDIR}
# rm -f ${DESTDIR}/delatex
# ln ${DESTDIR}/detex ${DESTDIR}/delatex
- sudo install detex /usr/local/bin
- sudo install detex /usr/local/bin/delatex
+ mkdir -p ${DESTDIR}/{bin,share/man/man1}
+ install detex ${DESTDIR}/bin
+ ln -s ${DESTDIR}/bin/detex ${DESTDIR}/bin/delatex
+ install detex.1l ${DESTDIR}/share/man/man1/detex.1
clean:
-rm -f a.out core *.s *.o ERRS errs .,* .emacs_[0-9]*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment