1# Generated automatically from Makefile.in by configure. 2# $Id: Makefile.in,v 1.9 1999/10/25 21:18:21 MRO Exp $ 3# Makefile for LaTeX2HTML. 4# Copyright (C) 1997 Marek Rouchal <marek@saftsack.fs.uni-bayreuth.de> 5 6# Generated automatically from Makefile.in by configure. 7 8# This program is free software; you can redistribute it and/or modify 9# it under the terms of the GNU General Public License as published by 10# the Free Software Foundation; either version 2, or (at your option) 11# any later version. 12 13# This program is distributed in the hope that it will be useful, 14# but WITHOUT ANY WARRANTY; without even the implied warranty of 15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16# GNU General Public License for more details. 17 18# You should have received a copy of the GNU General Public License 19# along with this program; if not, write to the Free Software 20# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 21# 02111-1307, USA. 22 23#### Start of system configuration section. #### 24AT=@ 25DISTVER = 2016 26srcdir = /home/bsbuild/dev/org-release/bacula-docs-11.0.5/latex2html-2016 27 28PERL = /usr/bin/perl 29PLAT = unix 30AUTOCONF = autoconf 31 32# All programs 33SCRIPTS = latex2html texexpand pstoimg 34 35# Modules 36MODULES = l2hconf.pm 37 38# for dependencies 39wrappers = wrapper/dos.pin wrapper/macos.pin wrapper/os2.pin \ 40 wrapper/unix.pin wrapper/win32.pin 41 42# Switch for Perl Warnings; should always be on 43# temporary solution until latexhtml is cleaned up 44PERLW =# -w 45 46#### End of system configuration section. #### 47 48# Placeholder for additional arguments 49ARGS=# 50 51SHELL = /bin/sh 52 53# Files that can be generated, but should be up to date for a distribution. 54DISTDEP = configure Makefile MANIFEST 55 56buildcmd = config/build.pl 57BUILDOPT=# nothing special, but -devel is a good idea! 58TESTCASE=l2htest# can be overridden on the command line 59installcmd = config/install.pl 60cfgfile = cfgcache.pm 61 62all: ${SCRIPTS} ${MODULES} 63 64devel: 65 $(AT)${MAKE} all BUILDOPT=-devel 66 67# .SUFFIXES: 68 69pstoimg: ${cfgfile} ${srcdir}/${buildcmd} pstoimg.pin ${wrappers} 70 $(AT)${PERL} ${srcdir}/${buildcmd} -x ${BUILDOPT} $@ 71 $(AT)touch pstoimg 72 73latex2html: ${cfgfile} ${srcdir}/${buildcmd} latex2html.pin ${wrappers} 74 $(AT)${PERL} ${srcdir}/${buildcmd} -x ${BUILDOPT} $@ 75 $(AT)touch latex2html 76 77texexpand: ${cfgfile} ${srcdir}/${buildcmd} texexpand.pin ${wrappers} 78 $(AT)${PERL} ${srcdir}/${buildcmd} -x ${BUILDOPT} $@ 79 $(AT)touch texexpand 80 81${cfgfile}: config.status 82 83l2hconf.pm: ${cfgfile} ${srcdir}/${buildcmd} l2hconf.pin 84 $(AT)${PERL} ${srcdir}/${buildcmd} ${BUILDOPT} $@ 85 $(AT)touch l2hconf.pm 86 87test: all 88 $(AT)LATEX2HTMLDIR=${srcdir}; export LATEX2HTMLDIR ; \ 89 latex2html='' ; \ 90 for file in latex2html bin/latex2html* bin/${PLAT}/latex2html*; do \ 91 test -s $$file && latex2html=$$file break ; \ 92 done ; \ 93 if test -n "$$latex2html"; then \ 94 echo "*** Running test on $$latex2html"; \ 95 cd tests ; ${PERL} ../$$latex2html -test_mode ${ARGS} ${TESTCASE} ; \ 96 fi 97 98test_clean: 99 $(AT)cd tests ; \ 100 for i in *.tex ; do \ 101 dir=`basename $$i .tex` ; \ 102 rm -rf $$dir ; \ 103 done ; \ 104 rm -f *.aux *.dvi *.log 105 106test_pstoimg: pstoimg 107 $(AT)LATEX2HTMLDIR=${srcdir}; export LATEX2HTMLDIR ; \ 108 pstoimg='' ; \ 109 for file in pstoimg bin/pstoimg* bin/${PLAT}/pstoimg*; do \ 110 test -s $$file && pstoimg=$$file break ; \ 111 done ; \ 112 if test -n "$$pstoimg"; then \ 113 echo "*** Running test: $$pstoimg ${ARGS}"; \ 114 ${PERL} $$pstoimg ${ARGS} ; \ 115 fi 116 117texlive: texlive.pm 118 $(AT)cp texlive.pm ${cfgfile} 119 $(AT)${MAKE} all 120 121check: all 122 $(AT)LATEX2HTMLDIR=${srcdir}; export LATEX2HTMLDIR ; \ 123 for file in versions/*.pl styles/*.perl; do \ 124 ${PERL} ${PERLW} -c $$file || exit 1; \ 125 done ; \ 126 for file in ${SCRIPTS} ${MODULES}; do \ 127 test -s $$file && ( ${PERL} ${PERLW} -c $$file || exit 1 ); \ 128 test -s $$file.pl && ( ${PERL} ${PERLW} -c $$file.pl || exit 1 ); \ 129 done ; \ 130 exit 0 131 132install: all 133 $(AT)${PERL} ${installcmd} 134 135# Don't cd, to avoid breaking install-sh references. 136 137${srcdir}/configure: 138 $(AT)cd ${srcdir} && \ 139 ${AUTOCONF} 140 141Makefile: Makefile.in config.status 142 $(AT)./config.status 143 144config.status: ${srcdir}/configure config/config.pl 145 $(AT)./config.status --recheck 146 147clean mostlyclean distclean:: test_clean 148 $(AT)rm -f ${SCRIPTS} ${MODULES} *.tmp *.bak *.pl 149 $(AT)rm -fr bin 150 $(AT)rm -f *~ styles/*~ 151 152distclean:: 153 $(AT)rm -f Makefile config.status config.cache config.log ${cfgfile} 154 $(AT)rm -f test.bat install.bat 155 156MANIFEST: 157 $(AT)${PERL} make_manifest \ 158 -x configure.in \ 159 -x make_manifest \ 160 > MANIFEST 161 162# Create a distribution based on the MANIFEST file 163dist: ${DISTDEP} 164 $(AT)distname=latex2html-${DISTVER} ; \ 165 rm -fr $$distname; \ 166 mkdir $$distname; \ 167 for item in `cat MANIFEST`; do \ 168 test -d $$item && mkdir $$distname/$$item; \ 169 test -f $$item && ( \ 170 ln $$item $$distname/$$item || \ 171 { echo copying $$item instead; cp -p $$item $$distname/$$item;}; \ 172 ) ; \ 173 done; \ 174 chmod -R u+rw,go-w+rX $$distname; \ 175 tar -chz -f $$distname.tar.gz $$distname; \ 176 rm -fr $$distname 177 178# Create a zipped dist 179zipdist: ${DISTDEP} 180 $(AT)distname=latex2html-${DISTVER} ; \ 181 rm -fr $$distname; \ 182 mkdir $$distname; \ 183 for item in `cat MANIFEST`; do \ 184 test -d $$item && mkdir $$distname/$$item; \ 185 test -f $$item && ( \ 186 ln $$item $$distname/$$item || \ 187 { echo copying $$item instead; cp -p $$item $$distname/$$item;}; \ 188 ) ; \ 189 done; \ 190 chmod -R u+rw,go-w+rX $$distname; \ 191 zip -r -y $$distname.zip $$distname; \ 192 rm -fr $$distname 193 194# no comment... 195love: 196 $(AT)echo "...not war!" 197 198