Changeset bb06cf in git for doc/Makefile.am


Ignore:
Timestamp:
Mar 15, 2021, 7:52:32 PM (3 years ago)
Author:
Matthias Koeppe <mkoeppe@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd08f5f0bb3329b8ca19f23b74cb1473686415c3a')
Children:
c040d9d5003a06f0653fd2400682474bcba2e62b
Parents:
e1b5c252734c3c36aa53258bb37436536860e303
Message:
If 'configure --enable-doc-build' is used, add doc archive to distribution
File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/Makefile.am

    re1b5c2 rbb06cf  
    181181singular.hlp:
    182182        $(MAKE) -f Makefile-docbuild $@
     183
     184if ENABLE_DOC_BUILD
     185EXTRA_DIST += doc.tbz2
     186doc.tbz2:
     187        $(MAKE) -f Makefile-docbuild singular.hlp html
     188        chmod -R a+rX singular.hlp html
     189        $(AMTAR) jcf $@ singular.hlp html
     190dist-hook:
     191        @if [ -n "$(DOC2TEX_EXAMPLE_EXCLUSIONS)" ]; then                                        \
     192          echo >&2 "#######################################################################";   \
     193          echo >&2 "WARNING: This distribution will ship a version of the documentation";       \
     194          echo >&2 "that excludes some modules because of missing optional libraries:";         \
     195          echo >&2 "DOC2TEX_EXAMPLE_EXCLUSIONS = $(DOC2TEX_EXAMPLE_EXCLUSIONS)";                \
     196          echo >&2 "#######################################################################";   \
     197        fi
     198else
     199dist-hook:
     200        @echo >&2 "#######################################################################"
     201        @echo >&2 "WARNING: This distribution will not contain the Singular documentation."
     202        @echo >&2 "Use 'configure --enable-doc-build' to build and ship the documentation."
     203        @echo >&2 "#######################################################################"
     204endif
Note: See TracChangeset for help on using the changeset viewer.