Using 'Doxygen' to generate source code documentation

This commit is contained in:
Klaus Schmidinger
2002-12-15 15:36:02 +01:00
parent d610d95e50
commit c7849b14a7
8 changed files with 1133 additions and 188 deletions

View File

@@ -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