~m-grant-prg/libmgesysutils/bionic

« back to all changes in this revision

Viewing changes to doc/doxygen/Makefile.am

  • Committer: Mark Grant
  • Date: 2019-11-05 09:02:57 UTC
  • mfrom: (2.1.27)
  • Revision ID: m.grant.prg@gmail.com-20191105090257-fcrfivqxphls7efe
Merge new development release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
#                               Installation Directory Variables.       #
31
31
# 16/05/2019    MG      1.0.7   Collapse AT sub-projects into one.      #
32
32
#                               Remove shebang.                         #
 
33
# 30/10/2019    MG      1.0.8   Do not register with doc-base or        #
 
34
#                               dochelp when running make distcheck.    #
 
35
#                               Reduce Doxygen out put when silent      #
 
36
#                               rules are enabled.                      #
33
37
#                                                                       #
34
38
#########################################################################
35
39
 
47
51
        tar -chz --format=posix -f $@ html
48
52
 
49
53
doxygen.stamp: Doxyfile
50
 
        doxygen $<
 
54
        if $(AM_V_P); then \
 
55
                DOXYGEN_QUIET=NO doxygen $< ; \
 
56
        else \
 
57
                DOXYGEN_QUIET=YES doxygen $< ; \
 
58
        fi
51
59
        echo Timestamp > $@
52
60
 
53
61
 
66
74
# If doc-base is installed register the documents then update dochelp if it is
67
75
# installed.
68
76
install-data-hook:
 
77
if !DISTCHECKFAKE
69
78
        cd $(DESTDIR)$(htmldir) && tar xf $(docpkg)
70
79
        if command -v install-docs >/dev/null 2>&1; then \
71
80
                install-docs -vi $(docbasedir)/libmgesysutils; \
73
82
        if command -v dochelp >/dev/null 2>&1; then \
74
83
                dochelp update; \
75
84
        fi
 
85
endif
76
86
 
77
87
uninstall-hook:
 
88
if !DISTCHECKFAKE
78
89
        cd $(DESTDIR)$(htmldir) && rm -rf html
79
90
        if command -v install-docs >/dev/null 2>&1; then \
80
91
                install-docs -vr libmgesysutils; \
82
93
        if command -v dochelp >/dev/null 2>&1; then \
83
94
                dochelp update; \
84
95
        fi
 
96
endif
85
97
 
86
98
 
87
99
EXTRA_DIST = $(docpkg) libmgesysutils.in