summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-12-15 15:36:02 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-12-15 15:36:02 +0100
commitc7849b14a7502f626f9cf806e998a711b28fb21b (patch)
tree2de1a4874285a8cc6d7217c9f58fdf6f277a19af /Makefile
parentd610d95e509c04fec7be22f4a7ae2fd308fa53a9 (diff)
downloadvdr-c7849b14a7502f626f9cf806e998a711b28fb21b.tar.gz
vdr-c7849b14a7502f626f9cf806e998a711b28fb21b.tar.bz2
Using 'Doxygen' to generate source code documentation
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bfd7a413..d1e17a7d 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
-# $Id: Makefile 1.54 2002/12/13 14:49:12 kls Exp $
+# $Id: Makefile 1.55 2002/12/15 15:15:55 kls Exp $
.DELETE_ON_ERROR:
@@ -23,6 +23,9 @@ PLUGINDIR= ./PLUGINS
VIDEODIR = /video
+DOXYGEN = /usr/bin/doxygen
+DOXYFILE = Doxyfile
+
-include Make.config
INCLUDES = -I$(DVBDIR)/include
@@ -122,12 +125,21 @@ install:
cp *.conf $(VIDEODIR);\
fi
+# Source documentation:
+
+srcdoc:
+ @cp $(DOXYFILE) $(DOXYFILE).tmp
+ @echo PROJECT_NUMBER = `grep VDRVERSION config.h | awk '{ print $$3 }'` >> $(DOXYFILE).tmp
+ $(DOXYGEN) $(DOXYFILE).tmp
+ @rm $(DOXYFILE).tmp
+
# Housekeeping:
clean:
$(MAKE) -C $(DTVDIR) clean
-rm -f $(OBJS) $(DEPFILE) vdr genfontfile genfontfile.o core* *~
-rm -rf include
+ -rm -rf srcdoc
fontclean:
-rm -f fontfix.c fontosd.c
CLEAN: clean fontclean