summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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