Appveyor: workaround perl texinfo

This commit is contained in:
Nicolas Williams
2016-01-18 22:45:32 -06:00
parent cfd51be7fe
commit a5f13331af
3 changed files with 14 additions and 6 deletions

View File

@@ -34,7 +34,7 @@ thirdparty=thirdparty
!endif
!ifdef APPVEYOR
SUBDIRS = include lib kuser kdc admin kadmin kpasswd appl \
SUBDIRS = include lib kuser kdc admin kadmin kpasswd appl doc \
tools tests packages etc
!else
SUBDIRS = include lib kuser kdc admin kadmin kpasswd appl doc \

View File

@@ -1,10 +1,13 @@
#
# This file tells appveyor.com how to build Heimdal on Windows.
# Appveyor is a continuous integration (CI) service for github and other
# users, and is free for public repositories.
#
install:
# FIXME: Somehow this isn't enough to get texinfo installed
# See https://github.com/appveyor/ci/issues/606
- C:\msys64\usr\bin\bash -lc "pacman --needed --noconfirm -Sy pacman-mirrors"
- C:\msys64\usr\bin\bash -lc "pacman --noconfirm -Sy"
- C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S autoconf automake bison flex texinfo"
- C:\cygwin\setup-x86.exe -qnNdO -R C:\cygwin -s http://cygwin.mirror.constant.com -l C:\cygwin\var\cache\setup -P texinfo
- C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S autoconf automake bison flex"
build_script:
- set PSDKDir=C:\Program Files\Microsoft SDKs\Windows\v7.1
@@ -18,7 +21,8 @@ build_script:
- set dbg__type=Debug
- title Heimdal Build %CPU% %dbg__type%
- echo PATH=%PATH%
# Right now we can't make doc nor installers
# Newer texinfo has no .exe's, so we have to invoke it as
# "perl ...\makeinfo ...". See doc/NTMakefile.
- nmake /f NTMakefile APPVEYOR=1 MAKEINFO=makeinfo NO_INSTALLERS=1
- 7z a heimdal-out.zip C:\projects\heimdal\out\

View File

@@ -61,6 +61,10 @@ hx509_TEXINFOS = \
MAKEINFOFLAGS = --css-include=$(SRCDIR)/heimdal.css
!ifdef APPVEYOR
MAKEINFO = $(PERL) C:\msys64\usr\bin\makeinfo
!endif
######################################################################
# Build heimdal.chm