latexd: Add README and fix header
This commit is contained in:
parent
7f0fdb7795
commit
f2c2e7da8d
|
@ -0,0 +1,9 @@
|
||||||
|
latexd.sh watches a file and calls make when it is changed. This is
|
||||||
|
useful to automatically compile a LaTeX document when saved.
|
||||||
|
To detect a change, a MD5 sum of the file is computed.
|
||||||
|
|
||||||
|
This script works well (at least) on GNU/Linux and FreeBSD.
|
||||||
|
|
||||||
|
Limitations :
|
||||||
|
- Handles only a single file.
|
||||||
|
- The delay between two checks is not configurable.
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# latexd.sh, version 1.3, 05/10/2010
|
# latexd.sh, version 1.3, 05/10/2010
|
||||||
# Copyright © 2006-2010 Matteo Cypriani
|
# Copyright © 2006-2008, 2010 Matteo Cypriani
|
||||||
#
|
#
|
||||||
# This program is free software. It comes without any warranty, to
|
# This program is free software. It comes without any warranty, to
|
||||||
# the extent permitted by applicable law. You can redistribute it
|
# the extent permitted by applicable law. You can redistribute it
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
# To Public License, Version 2, as published by Sam Hocevar. See
|
# To Public License, Version 2, as published by Sam Hocevar. See
|
||||||
# http://sam.zoy.org/wtfpl/COPYING for more details.
|
# http://sam.zoy.org/wtfpl/COPYING for more details.
|
||||||
#
|
#
|
||||||
# This scripts calls "make" when the given file is modified.
|
# This scripts calls "make" when the watched file is modified.
|
||||||
# ----
|
# ----
|
||||||
# Lancement de la commande "make" à chaque fois que le fichier
|
# Lancement de la commande "make" à chaque fois que le fichier
|
||||||
# surveillé est modifié.
|
# surveillé est modifié.
|
||||||
|
|
Loading…
Reference in New Issue