mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Using 'Doxygen' to generate source code documentation
This commit is contained in:
14
Makefile
14
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
|
||||
|
Reference in New Issue
Block a user