You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.3 KiB
Makefile
54 lines
1.3 KiB
Makefile
# ***************************************************** -*- Makefile -*-
|
|
#
|
|
# File: Makefile
|
|
# Version: $Rev$
|
|
# 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/*
|