1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
|
# ***************************************************** -*- Makefile -*-
#
# File: Makefile
# Version: $Rev: 589 $
# Author(s): Andreas Huggel (ahu) <ahuggel@gmx.net>
# History: 10-Dec-03, ahu: created
#
# Description:
# Simple Makefile to build the doxygen documentation
#
# Restrictions:
# Requires GNU make.
#
# Default make target
all: doc
# Include system configuration
top_srcdir = ..
include $(top_srcdir)/config/config.mk
# **********************************************************************
# ======================================================================
# **********************************************************************
# Initialisations
SHELL = /bin/sh
.SUFFIXES:
# **********************************************************************
# Targets
.PHONY: all doc doxygen tags mostlyclean clean distclean maintainer-clean
doc: doxygen tags
doxygen:
doxygen $(top_srcdir)/config/Doxyfile
tags:
cd $(top_srcdir)/doc/templates && $(MAKE) all
cp -f $(top_srcdir)/doc/templates/*.html $(top_srcdir)/doc/html/
mostlyclean clean:
$(RM) *~ *.bak *#
distclean: clean
cd $(top_srcdir)/doc/templates && $(MAKE) $(MAKECMDGOALS)
# This command is intended for maintainers to use; it deletes files
# that may need special tools to rebuild.
maintainer-clean: distclean
rm -rf $(top_srcdir)/doc/html/*
|