summaryrefslogtreecommitdiffstats
path: root/doc/Makefile.in
blob: 8a56e2ed412ab2002e80839157b71d17976a2516 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# HDF5 Library Doc Makefile(.in)
#
# Copyright (C) 1997, 2002
#     National Center for Supercomputing Applications.
#     All rights reserved.
#
# 
# This is the top level makefile of the Doc directory.  It mostly just
# reinvokes make in the various subdirectories.
# You can alternatively invoke make from each subdirectory manually.
#
top_srcdir=@top_srcdir@
top_builddir=..
srcdir=@srcdir@
@COMMENCE@

# Subdirectories in build-order
SUBDIRS=html

##===========================================================================
lib progs check test _test install uninstall:
	@echo "Nothing to be done"

tests TAGS dep depend:
	@@SETX@; for d in $(SUBDIRS); do				      \
		(cd $$d && $(MAKE) $@) || exit 1;				      \
	done

install-doc:
	@if test -d $(DOCDIR) ; then                                          \
		:;                                                                 \
	else                                                                  \
		mkdir $(DOCDIR) && chmod 755 $(DOCDIR);                            \
	fi
	@@SETX@; for d in $(SUBDIRS); do                                      \
		(cd $$d && $(MAKE) $@) || exit 1;                                  \
	done

uninstall-doc:
	@@SETX@; for d in $(SUBDIRS); do                                      \
		(cd $$d && $(MAKE) $@) || exit 1;                                  \
	done

.PHONY: all lib progs test _test install uninstall dep depend clean           \
	mostlyclean distclean maintainer-clean

clean mostlyclean:
	@@SETX@; for d in $(SUBDIRS); do				      \
		(cd $$d && $(MAKE) $@);					      \
	done

distclean:
	@@SETX@; for d in $(SUBDIRS); do				      \
		(cd $$d && $(MAKE) $@);					      \
	done
	-$(RM) Makefile

maintainer-clean: distclean
	@echo "This target is intended for maintainers to use;"
	@echo "it deletes files that may require special tools to rebuild."
	@@SETX@; for d in $(SUBDIRS); do				      \
		(cd $$d && $(MAKE) $@);					      \
	done