Home | History | Annotate | Line # | Download | only in doc
NTMakefile revision 1.1.1.3
      1      1.1     elric ########################################################################
      2      1.1     elric #
      3      1.1     elric # Copyright (c) 2009, Secure Endpoints Inc.
      4      1.1     elric # All rights reserved.
      5      1.1     elric # 
      6      1.1     elric # Redistribution and use in source and binary forms, with or without
      7      1.1     elric # modification, are permitted provided that the following conditions
      8      1.1     elric # are met:
      9      1.1     elric # 
     10      1.1     elric # - Redistributions of source code must retain the above copyright
     11      1.1     elric #   notice, this list of conditions and the following disclaimer.
     12      1.1     elric # 
     13      1.1     elric # - Redistributions in binary form must reproduce the above copyright
     14      1.1     elric #   notice, this list of conditions and the following disclaimer in
     15      1.1     elric #   the documentation and/or other materials provided with the
     16      1.1     elric #   distribution.
     17      1.1     elric # 
     18      1.1     elric # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
     19      1.1     elric # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
     20      1.1     elric # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
     21      1.1     elric # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
     22      1.1     elric # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
     23      1.1     elric # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
     24      1.1     elric # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
     25      1.1     elric # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
     26      1.1     elric # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
     27      1.1     elric # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
     28      1.1     elric # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     29      1.1     elric # POSSIBILITY OF SUCH DAMAGE.
     30      1.1     elric # 
     31      1.1     elric 
     32      1.1     elric RELDIR=doc 
     33      1.1     elric 
     34      1.1     elric !include ../windows/NTMakefile.w32 
     35      1.1     elric 
     36      1.1     elric heimdal_TEXINFOS = \
     37      1.1     elric 	$(OBJ)\ack.texi \
     38      1.1     elric 	$(OBJ)\apps.texi \
     39      1.1     elric 	$(OBJ)\copyright.texi \
     40      1.1     elric 	$(OBJ)\heimdal.texi \
     41      1.1     elric 	$(OBJ)\install.texi \
     42      1.1     elric 	$(OBJ)\intro.texi \
     43      1.1     elric 	$(OBJ)\kerberos4.texi \
     44      1.1     elric 	$(OBJ)\migration.texi \
     45      1.1     elric 	$(OBJ)\misc.texi \
     46      1.1     elric 	$(OBJ)\programming.texi \
     47      1.1     elric 	$(OBJ)\setup.texi \
     48      1.1     elric 	$(OBJ)\vars.texi \
     49      1.1     elric 	$(OBJ)\whatis.texi \
     50      1.1     elric 	$(OBJ)\win2k.texi
     51      1.1     elric 
     52      1.1     elric hx509_TEXINFOS = \
     53      1.1     elric 	$(OBJ)\hx509.texi
     54      1.1     elric 
     55      1.1     elric {}.texi{$(OBJ)}.texi:
     56      1.1     elric 	$(CP) $** $@
     57      1.1     elric 
     58      1.1     elric {}.tin{$(OBJ)}.texi:
     59      1.1     elric 	$(SED) -e "s,[@]dbdir[@],x,g"	\
     60  1.1.1.2  christos 	-e "s,[@]dbtype[@],sqlite,g" < $** > $@ \
     61      1.1     elric 	-e "s,[@]PACKAGE_VERSION[@],$(VER_PACKAGE_VERSION),g" < $** > $@
     62      1.1     elric 
     63      1.1     elric MAKEINFOFLAGS = --css-include=$(SRCDIR)/heimdal.css
     64      1.1     elric 
     65  1.1.1.2  christos !ifdef APPVEYOR
     66  1.1.1.2  christos MAKEINFO = $(PERL) C:\msys64\usr\bin\makeinfo
     67  1.1.1.2  christos !endif
     68  1.1.1.2  christos 
     69      1.1     elric ######################################################################
     70      1.1     elric # Build heimdal.chm
     71      1.1     elric 
     72      1.1     elric # Copyrights-and-Licenses.html is where the table of contents ends up
     73      1.1     elric # when generating HTML output using makeinfo.  Same goes for
     74      1.1     elric # How-to-use-the-PKCS11-module.html below.
     75      1.1     elric 
     76      1.1     elric $(OBJ)\heimdal\index.html $(OBJ)\heimdal\Copyrights-and-Licenses.html: $(heimdal_TEXINFOS)
     77      1.1     elric 	cd $(OBJ)
     78      1.1     elric 	$(MAKEINFO) $(MAKEINFOFLAGS) --html heimdal.texi
     79  1.1.1.3  christos 	-$(MKDIR) heimdal
     80      1.1     elric 	cd $(SRCDIR)
     81      1.1     elric 
     82      1.1     elric $(OBJ)\heimdal\toc.hhc: $(OBJ)\heimdal\Copyrights-and-Licenses.html
     83      1.1     elric 	$(PERL) $(SRC)\cf\w32-hh-toc-from-info.pl -o$@ $**
     84      1.1     elric 
     85      1.1     elric $(OBJ)\heimdal\heimdal.hhp: heimdal.hhp
     86      1.1     elric 	$(CP) $** $@
     87      1.1     elric 
     88      1.1     elric $(DOCDIR)\heimdal.chm: $(OBJ)\heimdal\heimdal.hhp $(OBJ)\heimdal\toc.hhc
     89      1.1     elric 	cd $(OBJ)\heimdal
     90      1.1     elric 	-$(HHC) heimdal.hhp
     91      1.1     elric 	$(CP) heimdal.chm $@
     92      1.1     elric 	cd $(SRCDIR)
     93      1.1     elric 
     94      1.1     elric ######################################################################
     95      1.1     elric # Build hx509.chm
     96      1.1     elric 
     97      1.1     elric $(OBJ)\hx509\index.html $(OBJ)\hx509\How-to-use-the-PKCS11-module.html: $(hx509_TEXINFOS)
     98      1.1     elric 	cd $(OBJ)
     99      1.1     elric 	$(MAKEINFO) $(MAKEINFOFLAGS) --html hx509.texi
    100  1.1.1.3  christos 	-$(MKDIR) hx509
    101      1.1     elric 	cd $(SRCDIR)
    102      1.1     elric 
    103      1.1     elric $(OBJ)\hx509\toc.hhc: $(OBJ)\hx509\How-to-use-the-PKCS11-module.html
    104      1.1     elric 	$(PERL) $(SRC)\cf\w32-hh-toc-from-info.pl -o$@ $**
    105      1.1     elric 
    106      1.1     elric $(OBJ)\hx509\hx509.hhp: hx509.hhp
    107      1.1     elric 	$(CP) $** $@
    108      1.1     elric 
    109      1.1     elric $(DOCDIR)\hx509.chm: $(OBJ)\hx509\hx509.hhp $(OBJ)\hx509\toc.hhc
    110      1.1     elric 	cd $(OBJ)\hx509
    111      1.1     elric 	-$(HHC) hx509.hhp
    112      1.1     elric 	$(CP) hx509.chm $@
    113      1.1     elric 	cd $(SRCDIR)
    114      1.1     elric 
    115      1.1     elric !ifndef NO_DOC
    116      1.1     elric all:: $(OBJ)\heimdal\index.html $(OBJ)\hx509\index.html \
    117      1.1     elric 	$(DOCDIR)\heimdal.chm $(DOCDIR)\hx509.chm
    118      1.1     elric !endif
    119      1.1     elric 
    120      1.1     elric clean::
    121      1.1     elric 	-$(RM) $(OBJ)\heimdal\*.*
    122      1.1     elric 	-$(RM) $(OBJ)\hx509\*.*
    123      1.1     elric 	-$(RM) $(DOCDIR)\heimdal.chm
    124      1.1     elric 	-$(RM) $(DOCDIR)\hx509.chm
    125      1.1     elric 
    126      1.1     elric .SUFFIXES: .texi .tin
    127