~ubuntu-branches/ubuntu/breezy/gnustep-base/breezy

« back to all changes in this revision

Viewing changes to Documentation/Makefile.postamble

  • Committer: Bazaar Package Importer
  • Author(s): Eric Heintzmann
  • Date: 2005-04-17 00:14:38 UTC
  • mfrom: (1.2.1 upstream) (4 hoary)
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: james.westby@ubuntu.com-20050417001438-enf0y07c9tku85z1
Tags: 1.10.3-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
# Things to do before compiling
39
39
# before-all::
40
40
 
41
 
# Things to do after compiling
42
 
# after-all::
 
41
# After building local documentation, we need to run the special makefile
 
42
# in the source directory to generate library reference documentation from
 
43
# the source code.
 
44
after-all::
 
45
ifeq ($(HAVE_LIBXML),1)
 
46
        $(MAKE) -C ../Source -f DocMakefile
 
47
        $(MAKE) -C ../Tools -f DocMakefile
 
48
endif
43
49
 
44
50
# Things to do before installing
45
51
# before-install::
46
52
 
47
 
# Things to do after installing
48
 
# after-install::
 
53
# Install the library reference documentation manually
 
54
#
 
55
after-install::
 
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 -)
 
69
ifneq ($(CHOWN_TO),)
 
70
        $(CHOWN) -R $(CHOWN_TO) \
 
71
          $(REF_DOC_INSTALL_DIR/Base)
 
72
          $(REF_DOC_INSTALL_DIR/BaseAdditions)
 
73
          $(REF_DOC_INSTALL_DIR/Tools)
 
74
endif
 
75
endif
 
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)/..
 
80
 
49
81
 
50
82
# Things to do before uninstalling
51
83
# before-uninstall::
52
84
 
53
85
# Things to do after uninstalling
54
 
# after-uninstall::
 
86
after-uninstall::
 
87
        rm -rf $(REF_DOC_INSTALL_DIR)
55
88
 
56
89
# Things to do before cleaning
57
90
# before-clean::
58
91
 
59
92
# Things to do after cleaning
60
 
# after-clean::
 
93
after-clean::
 
94
ifeq ($(HAVE_LIBXML),1)
 
95
        $(MAKE) -C ../Source -f DocMakefile clean
 
96
        $(MAKE) -C ../Tools -f DocMakefile clean
 
97
endif
 
98
        rm -rf Base
 
99
        rm -rf BaseAdditions
 
100
        rm -rf BaseTools
61
101
 
62
102
# Things to do before distcleaning
63
103
# before-distclean::