summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscop <scop>2005-04-18 19:34:00 +0000
committerscop <scop>2005-04-18 19:34:00 +0000
commit47b28fc077f15acca6a0ee6bca61bdab03a5adff (patch)
tree184087234675be37203385dc0a031d7bf50e621e
parent679fb41b95bd77bc38f0170147f38cf9f402625b (diff)
downloadvdr-plugin-dxr3-47b28fc077f15acca6a0ee6bca61bdab03a5adff.tar.gz
vdr-plugin-dxr3-47b28fc077f15acca6a0ee6bca61bdab03a5adff.tar.bz2
Add indent target.
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6fd045a..f4866bd 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
#
# Makefile for a Video Disk Recorder plugin
#
-# $Id: Makefile,v 1.15 2005/03/23 21:39:47 scop Exp $
+# $Id: Makefile,v 1.16 2005/04/18 19:34:00 scop Exp $
# The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the plugin.
@@ -97,3 +97,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