summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscop <scop>2005-04-18 19:32:35 +0000
committerscop <scop>2005-04-18 19:32:35 +0000
commitd311dde1a29bf46cc962502a1859cc7410004aa4 (patch)
tree60534433477027d77bf154f3fcb63f559b0afe09
parent0b4b00ec6cb8af354b270b4c8356e453fa0c0d5b (diff)
downloadvdr-plugin-dxr3-d311dde1a29bf46cc962502a1859cc7410004aa4.tar.gz
vdr-plugin-dxr3-d311dde1a29bf46cc962502a1859cc7410004aa4.tar.bz2
Add indent target.
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d8b0438..4f173e4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
#
# Makefile for a Video Disk Recorder plugin
#
-# $Id: Makefile,v 1.1.2.13 2005/04/17 21:40:44 scop Exp $
+# $Id: Makefile,v 1.1.2.14 2005/04/18 19:32:35 scop Exp $
# The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the plugin.
@@ -107,3 +107,6 @@ dist: clean
clean:
@-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~ \#*
+
+indent:
+ emacs -batch --eval '(dolist (file command-line-args-left) (progn (find-file file) (c-indent-region (point-min) (point-max)) (save-buffer)))' *.h *.c