summaryrefslogtreecommitdiff
path: root/contrib/utility/BuildRules/Documentation.post.rules
blob: 33fd0c2942fd7f644935ee03b7df3e86f4b15cb3 (plain)
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
# file      : BuildRules/Documentation.post.rules
# author    : Boris Kolpackov <boris@kolpackov.net>
# copyright : Copyright (c) 2002-2003 Boris Kolpackov
# license   : http://kolpackov.net/license.html

#
# Note: normally you wouldn't want to change anything below.
#

#
# Pattern rules catalog.
# {

# Defined pattern rule to build .hpp.html from .hpp
%.html : %
	$(DOC) $(DOC_FLAGS) -o $@ $<

# }

# The following rule will inhibit treatment of documentation as
# default target.
.PHONY : all
all: ;@:

.PHONY : documentation
documentation : $(patsubst %,%.html,$(doc_translation_units))

# Defines a phony target to clean all what's been generated
.PHONY : clean
clean :
	-rm -f $(patsubst %,%.html,$(doc_translation_units))

# The following catch-all rule will skip unknown targets
%:: ;@:
# $Id$