Home | History | Annotate | Line # | Download | only in doc
NTMakefile revision 1.1.1.1.6.1
      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.1.6.1    snj 	-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.1.6.1    snj !ifdef APPVEYOR
     66  1.1.1.1.6.1    snj MAKEINFO = $(PERL) C:\msys64\usr\bin\makeinfo
     67  1.1.1.1.6.1    snj !endif
     68  1.1.1.1.6.1    snj 
     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  elric 	cd $(SRCDIR)
     80          1.1  elric 
     81          1.1  elric $(OBJ)\heimdal\toc.hhc: $(OBJ)\heimdal\Copyrights-and-Licenses.html
     82          1.1  elric 	$(PERL) $(SRC)\cf\w32-hh-toc-from-info.pl -o$@ $**
     83          1.1  elric 
     84          1.1  elric $(OBJ)\heimdal\heimdal.hhp: heimdal.hhp
     85          1.1  elric 	$(CP) $** $@
     86          1.1  elric 
     87          1.1  elric $(DOCDIR)\heimdal.chm: $(OBJ)\heimdal\heimdal.hhp $(OBJ)\heimdal\toc.hhc
     88          1.1  elric 	cd $(OBJ)\heimdal
     89          1.1  elric 	-$(HHC) heimdal.hhp
     90          1.1  elric 	$(CP) heimdal.chm $@
     91          1.1  elric 	cd $(SRCDIR)
     92          1.1  elric 
     93          1.1  elric ######################################################################
     94          1.1  elric # Build hx509.chm
     95          1.1  elric 
     96          1.1  elric $(OBJ)\hx509\index.html $(OBJ)\hx509\How-to-use-the-PKCS11-module.html: $(hx509_TEXINFOS)
     97          1.1  elric 	cd $(OBJ)
     98          1.1  elric 	$(MAKEINFO) $(MAKEINFOFLAGS) --html hx509.texi
     99          1.1  elric 	cd $(SRCDIR)
    100          1.1  elric 
    101          1.1  elric $(OBJ)\hx509\toc.hhc: $(OBJ)\hx509\How-to-use-the-PKCS11-module.html
    102          1.1  elric 	$(PERL) $(SRC)\cf\w32-hh-toc-from-info.pl -o$@ $**
    103          1.1  elric 
    104          1.1  elric $(OBJ)\hx509\hx509.hhp: hx509.hhp
    105          1.1  elric 	$(CP) $** $@
    106          1.1  elric 
    107          1.1  elric $(DOCDIR)\hx509.chm: $(OBJ)\hx509\hx509.hhp $(OBJ)\hx509\toc.hhc
    108          1.1  elric 	cd $(OBJ)\hx509
    109          1.1  elric 	-$(HHC) hx509.hhp
    110          1.1  elric 	$(CP) hx509.chm $@
    111          1.1  elric 	cd $(SRCDIR)
    112          1.1  elric 
    113          1.1  elric !ifndef NO_DOC
    114          1.1  elric all:: $(OBJ)\heimdal\index.html $(OBJ)\hx509\index.html \
    115          1.1  elric 	$(DOCDIR)\heimdal.chm $(DOCDIR)\hx509.chm
    116          1.1  elric !endif
    117          1.1  elric 
    118          1.1  elric clean::
    119          1.1  elric 	-$(RM) $(OBJ)\heimdal\*.*
    120          1.1  elric 	-$(RM) $(OBJ)\hx509\*.*
    121          1.1  elric 	-$(RM) $(DOCDIR)\heimdal.chm
    122          1.1  elric 	-$(RM) $(DOCDIR)\hx509.chm
    123          1.1  elric 
    124          1.1  elric .SUFFIXES: .texi .tin
    125