add a few scripts to clean the files and indent using emacs.
commit1ffd3c219f9ed10b9194eaa9039bd1b76bbe09fb
authorPicca Frédéric-Emmanuel <picca@synchrotron-soleil.fr>
Sun, 12 Jun 2011 08:47:54 +0000 (12 10:47 +0200)
committerPicca Frédéric-Emmanuel <picca@synchrotron-soleil.fr>
Sun, 12 Jun 2011 08:47:54 +0000 (12 10:47 +0200)
tree27a826a45924a0bed9978d5d36e2e11b0c53dc6a
parentbc0c76ce06686fc241af6353c1bd43f077cf8011
add a few scripts to clean the files and indent using emacs.

- cleanfile was taken from the linux scripts directory, it removes
  the trailling spaces.

- indent was adapted from a public domain scripts. it use for now
  emacs (it is my prefered editor) to indent the files.

- clean-all use the two previous script to clean most of the C code
  for now.

it would be nice to modify indent which for now depends on my .emacs file.
it would be nice also to adapt the indent script for c++ files.
30 files changed:
hkl/hkl-axis.c
hkl/hkl-axis.h
hkl/hkl-detector-factory.c
hkl/hkl-error.c
hkl/hkl-error.h
hkl/hkl-geometry-factory.c
hkl/hkl-geometry-factory.h
hkl/hkl-geometry.c
hkl/hkl-lattice.c
hkl/hkl-list.h
hkl/hkl-macros.c
hkl/hkl-macros.h
hkl/hkl-matrix.c
hkl/hkl-pseudoaxis-auto.c
hkl/hkl-pseudoaxis-common-eulerians.c
hkl/hkl-pseudoaxis-common-hkl.c
hkl/hkl-pseudoaxis-common-hkl.h
hkl/hkl-pseudoaxis-common-psi.c
hkl/hkl-pseudoaxis-common-q.c
hkl/hkl-pseudoaxis-common.c
hkl/hkl-pseudoaxis-k4cv-hkl.c
hkl/hkl-pseudoaxis-k6c-hkl.c
hkl/hkl-pseudoaxis.c
hkl/hkl-quaternion.c
hkl/hkl-sample.c
hkl/hkl-source.c
hkl/hkl-vector.c
scripts/clean-all [new file with mode: 0755]
scripts/cleanfile [new file with mode: 0755]
scripts/indent [new file with mode: 0755]