38
38
# Things to do before compiling
41
# Things to do after compiling
41
# After building local documentation, we need to run the special makefile
42
# in the source directory to generate library reference documentation from
45
ifeq ($(HAVE_LIBXML),1)
46
$(MAKE) -C ../Source -f DocMakefile
47
$(MAKE) -C ../Tools -f DocMakefile
44
50
# Things to do before installing
47
# Things to do after installing
53
# Install the library reference documentation manually
56
ifeq ($(HAVE_LIBXML),1)
57
rm -rf $(REF_DOC_INSTALL_DIR)/Base/Reference
58
rm -rf $(REF_DOC_INSTALL_DIR)/BaseAdditions/Reference
59
rm -rf $(REF_DOC_INSTALL_DIR)/Tools/Reference
60
$(MKDIRS) $(REF_DOC_INSTALL_DIR)/Base/Reference
61
$(MKDIRS) $(REF_DOC_INSTALL_DIR)/BaseAdditions/Reference
62
$(MKDIRS) $(REF_DOC_INSTALL_DIR)/Tools/Reference
63
(cd Base; $(TAR) cf - .) | \
64
(cd $(REF_DOC_INSTALL_DIR)/Base/Reference; $(TAR) xf -)
65
(cd BaseAdditions; $(TAR) cf - .) | \
66
(cd $(REF_DOC_INSTALL_DIR)/BaseAdditions/Reference; $(TAR) xf -)
67
(cd BaseTools; $(TAR) cf - .) | \
68
(cd $(REF_DOC_INSTALL_DIR)/Tools/Reference; $(TAR) xf -)
70
$(CHOWN) -R $(CHOWN_TO) \
71
$(REF_DOC_INSTALL_DIR/Base)
72
$(REF_DOC_INSTALL_DIR/BaseAdditions)
73
$(REF_DOC_INSTALL_DIR/Tools)
76
cp -f HtmlNav/index.html $(REF_DOC_INSTALL_DIR)/..
77
cp -f HtmlNav/style.css $(REF_DOC_INSTALL_DIR)/..
78
cp -f HtmlNav/gnustep-header14.jpg $(REF_DOC_INSTALL_DIR)/..
79
cp -f HtmlNav/masthead-bg.jpg $(REF_DOC_INSTALL_DIR)/..
50
82
# Things to do before uninstalling
51
83
# before-uninstall::
53
85
# Things to do after uninstalling
87
rm -rf $(REF_DOC_INSTALL_DIR)
56
89
# Things to do before cleaning
59
92
# Things to do after cleaning
94
ifeq ($(HAVE_LIBXML),1)
95
$(MAKE) -C ../Source -f DocMakefile clean
96
$(MAKE) -C ../Tools -f DocMakefile clean
62
102
# Things to do before distcleaning
63
103
# before-distclean::