1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285
|
#!smake
# $Id$
#
# @WARNING@
#
# HylaFAX Facsimile Software
#
# Copyright (c) 1988-1996 Sam Leffler
# Copyright (c) 1991-1996 Silicon Graphics, Inc.
# HylaFAX is a trademark of Silicon Graphics
#
# Permission to use, copy, modify, distribute, and sell this software and
# its documentation for any purpose is hereby granted without fee, provided
# that (i) the above copyright notices and this permission notice appear in
# all copies of the software and related documentation, and (ii) the names of
# Sam Leffler and Silicon Graphics may not be used in any advertising or
# publicity relating to the software without the specific, prior written
# permission of Sam Leffler and Silicon Graphics.
#
# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
#
# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
# OF THIS SOFTWARE.
#
#
# VERSION: @VERSION@
# DATE: @DATE@
# TARGET: @TARGET@
# CCOMPILER: @CCOMPILER@
# CXXCOMPILER: @CXXCOMPILER@
#
DEPTH=..
SUBDIR=man
@MAKEINCLUDE@ @MAKELQUOTE@${DEPTH}/defs@MAKERQUOTE@
#
# Manual page targets that are installed.
#
# These may be formatted or unformatted versions of the sources
# above. The transformation is controlled by definitions in the
# system-specific defs files.
#
MANCAPP=cman.apps/hylafax-client.1 \
cman.apps/edit-faxcover.1 \
cman.apps/faxalter.1 \
cman.apps/faxcover.1 \
cman.apps/faxmail.1 \
cman.apps/faxrm.1 \
cman.apps/faxstat.1 \
cman.apps/sendfax.1 \
cman.apps/sendpage.1 \
cman.apps/sgi2fax.1 \
cman.apps/textfmt.1
MANCFILE=cman.files/pagesizes.4f\
cman.files/typerules.4f
MANSAPP=sman.apps/cqtest.1m \
sman.apps/choptest.1m \
sman.apps/dialtest.1m \
sman.apps/faxabort.1m \
sman.apps/faxaddmodem.1m\
sman.apps/faxadduser.1m \
sman.apps/faxanswer.1m \
sman.apps/faxconfig.1m \
sman.apps/faxdeluser.1m \
sman.apps/faxmodem.1m \
sman.apps/faxstate.1m \
sman.apps/faxcron.1m \
sman.apps/faxgetty.1m \
sman.apps/faxinfo.1m \
sman.apps/faxq.1m \
sman.apps/faxqclean.1m \
sman.apps/faxquit.1m \
sman.apps/faxlock.1m \
sman.apps/faxrcvd.1m \
sman.apps/faxsend.1m \
sman.apps/faxsetup.1m \
sman.apps/faxstate.1m \
sman.apps/faxwatch.1m \
sman.apps/hfaxd.1m \
sman.apps/jobcontrol.1m \
sman.apps/mkcover.1m \
sman.apps/notify.1m \
sman.apps/pagesend.1m \
sman.apps/pollrcvd.1m \
sman.apps/ps2fax.1m \
sman.apps/pdf2fax.1m \
sman.apps/recvstats.1m \
sman.apps/tagtest.1m \
sman.apps/tiff2fax.1m \
sman.apps/tiffcheck.1m \
sman.apps/tsitest.1m \
sman.apps/wedged.1m \
sman.apps/xferfaxstats.1m
MANSFILE=sman.files/hylafax-server.4f \
sman.files/hylafax-config.4f \
sman.files/dialrules.4f \
sman.files/doneq.4f \
sman.files/hosts.hfaxd.4f \
sman.files/hylafax-info.4f \
sman.files/hylafax-log.4f \
sman.files/pagermap.4f \
sman.files/recvq.4f \
sman.files/sendq.4f \
sman.files/hylafax-shutdown.4f \
sman.files/status.4f \
sman.files/tsi.4f \
sman.files/xferfaxlog.4f
TARGETS=cman.apps/Makefile cman.files/Makefile \
sman.apps/Makefile sman.files/Makefile
#
# System-specific manual page formatting commands should
# apply this sed command to the manual page source before
# handing it to the formatter. This sets any pathnames
# in the man pages to reflect local conventions.
#
MANSED=${SED}\
-e 's;\$${SPOOL};${SPOOL};g' \
-e 's;\$${BIN};${BIN};g' \
-e 's;\$${SBIN};${SBIN};g' \
-e 's;\$${TIFFBIN};${TIFFBIN};g' \
-e 's;\$${LIBDATA};${LIBDATA};g' \
-e 's;\$${LIBEXEC};${LIBEXEC};g' \
-e 's;\$${FONTPATH};${FONTPATH};g' \
-e 's;\$${SENDMAIL};${SENDMAIL};g' \
-e 's;\$${MANNUM4_5};${MANNUM4_5};g' \
-e 's;\$${MANNUM1_8};${MANNUM1_8};g'
default all:: cman.apps cman.files sman.apps sman.files
${MAKE} cman.apps
${MAKE} targets
targets:: ${TARGETS}
@MAKEINCLUDE@ @MAKELQUOTE@${COMMONRULES}@MAKERQUOTE@
cman.apps: ${_FORCE}; test -d $@ || ${MKDIR} $@
cman.files: ${_FORCE}; test -d $@ || ${MKDIR} $@
sman.apps: ${_FORCE}; test -d $@ || ${MKDIR} $@
sman.files: ${_FORCE}; test -d $@ || ${MKDIR} $@
# We can't have a "patter/inferred rule" for any of these, because
# Not all Makes (specifically SCO's make) don't support infered pattern rules
# have anything other than a suffix difference (like the directory)
#
# All these require the diretories be made first... Making one of these
# without the directory iexisting will fail.
cman.apps/hylafax-client.1:: ${SRCDIR}/hylafax-client.1; ${MANCVT}
cman.apps/edit-faxcover.1:: ${SRCDIR}/edit-faxcover.1; ${MANCVT}
cman.apps/faxalter.1:: ${SRCDIR}/faxalter.1; ${MANCVT}
cman.apps/faxcover.1:: ${SRCDIR}/faxcover.1; ${MANCVT}
cman.apps/faxmail.1:: ${SRCDIR}/faxmail.1; ${MANCVT}
cman.apps/faxrm.1:: ${SRCDIR}/faxrm.1; ${MANCVT}
cman.apps/faxstat.1:: ${SRCDIR}/faxstat.1; ${MANCVT}
cman.apps/sendfax.1:: ${SRCDIR}/sendfax.1; ${MANCVT}
cman.apps/sendpage.1:: ${SRCDIR}/sendpage.1; ${MANCVT}
cman.apps/sgi2fax.1:: ${SRCDIR}/sgi2fax.1; ${MANCVT}
cman.apps/textfmt.1:: ${SRCDIR}/textfmt.1; ${MANCVT}
cman.files/pagesizes.4f:: ${SRCDIR}/pagesizes.4f; ${MANCVT}
cman.files/typerules.4f:: ${SRCDIR}/typerules.4f; ${MANCVT}
sman.apps/cqtest.1m:: ${SRCDIR}/cqtest.1m; ${MANCVT}
sman.apps/choptest.1m:: ${SRCDIR}/choptest.1m; ${MANCVT}
sman.apps/dialtest.1m:: ${SRCDIR}/dialtest.1m; ${MANCVT}
sman.apps/faxabort.1m:: ${SRCDIR}/faxabort.1m; ${MANCVT}
sman.apps/faxaddmodem.1m:: ${SRCDIR}/faxaddmodem.1m; ${MANCVT}
sman.apps/faxadduser.1m::${SRCDIR}/faxadduser.1m; ${MANCVT}
sman.apps/faxanswer.1m::${SRCDIR}/faxanswer.1m; ${MANCVT}
sman.apps/faxconfig.1m::${SRCDIR}/faxconfig.1m; ${MANCVT}
sman.apps/faxcron.1m:: ${SRCDIR}/faxcron.1m; ${MANCVT}
sman.apps/faxdeluser.1m::${SRCDIR}/faxdeluser.1m; ${MANCVT}
sman.apps/hfaxd.1m:: ${SRCDIR}/hfaxd.1m; ${MANCVT}
sman.apps/faxgetty.1m:: ${SRCDIR}/faxgetty.1m; ${MANCVT}
sman.apps/faxinfo.1m:: ${SRCDIR}/faxinfo.1m; ${MANCVT}
sman.apps/faxmodem.1m:: ${SRCDIR}/faxmodem.1m; ${MANCVT}
sman.apps/faxq.1m:: ${SRCDIR}/faxq.1m; ${MANCVT}
sman.apps/faxqclean.1m::${SRCDIR}/faxqclean.1m; ${MANCVT}
sman.apps/faxquit.1m:: ${SRCDIR}/faxquit.1m; ${MANCVT}
sman.apps/faxlock.1m:: ${SRCDIR}/faxlock.1m; ${MANCVT}
sman.apps/faxrcvd.1m:: ${SRCDIR}/faxrcvd.1m; ${MANCVT}
sman.apps/faxsend.1m:: ${SRCDIR}/faxsend.1m; ${MANCVT}
sman.apps/faxsetup.1m:: ${SRCDIR}/faxsetup.1m; ${MANCVT}
sman.apps/faxstate.1m::${SRCDIR}/faxstate.1m; ${MANCVT}
sman.apps/faxwatch.1m::${SRCDIR}/faxwatch.1m; ${MANCVT}
sman.apps/jobcontrol.1m:: ${SRCDIR}/jobcontrol.1m; ${MANCVT}
sman.apps/mkcover.1m:: ${SRCDIR}/mkcover.1m; ${MANCVT}
sman.apps/notify.1m:: ${SRCDIR}/notify.1m; ${MANCVT}
sman.apps/pagesend.1m:: ${SRCDIR}/pagesend.1m; ${MANCVT}
sman.apps/pollrcvd.1m:: ${SRCDIR}/pollrcvd.1m; ${MANCVT}
sman.apps/ps2fax.1m:: ${SRCDIR}/ps2fax.1m; ${MANCVT}
sman.apps/pdf2fax.1m:: ${SRCDIR}/pdf2fax.1m; ${MANCVT}
sman.apps/recvstats.1m:: ${SRCDIR}/recvstats.1m; ${MANCVT}
sman.apps/tagtest.1m:: ${SRCDIR}/tagtest.1m; ${MANCVT}
sman.apps/tiff2fax.1m:: ${SRCDIR}/tiff2fax.1m; ${MANCVT}
sman.apps/tiffcheck.1m::${SRCDIR}/tiffcheck.1m; ${MANCVT}
sman.apps/tsitest.1m:: ${SRCDIR}/tsitest.1m; ${MANCVT}
sman.apps/wedged.1m:: ${SRCDIR}/wedged.1m; ${MANCVT}
sman.apps/xferfaxstats.1m:: ${SRCDIR}/xferfaxstats.1m; ${MANCVT}
sman.files/hylafax-server.4f:: ${SRCDIR}/hylafax-server.4f; ${MANCVT}
sman.files/hylafax-config.4f:: ${SRCDIR}/hylafax-config.4f; ${MANCVT}
sman.files/doneq.4f:: ${SRCDIR}/doneq.4f; ${MANCVT}
sman.files/dialrules.4f:: ${SRCDIR}/dialrules.4f; ${MANCVT}
sman.files/hosts.hfaxd.4f:: ${SRCDIR}/hosts.hfaxd.4f; ${MANCVT}
sman.files/hylafax-info.4f:: ${SRCDIR}/hylafax-info.4f; ${MANCVT}
sman.files/hylafax-log.4f:: ${SRCDIR}/hylafax-log.4f; ${MANCVT}
sman.files/pagermap.4f::${SRCDIR}/pagermap.4f; ${MANCVT}
sman.files/recvq.4f:: ${SRCDIR}/recvq.4f; ${MANCVT}
sman.files/sendq.4f:: ${SRCDIR}/sendq.4f; ${MANCVT}
sman.files/hylafax-shutdown.4f::${SRCDIR}/hylafax-shutdown.4f; ${MANCVT}
sman.files/status.4f:: ${SRCDIR}/status.4f; ${MANCVT}
sman.files/tsi.4f:: ${SRCDIR}/tsi.4f; ${MANCVT}
sman.files/xferfaxlog.4f:: ${SRCDIR}/xferfaxlog.4f; ${MANCVT}
LDIRT= cman.apps cman.files sman.apps sman.files
cman.apps/Makefile: ${DEPTH}/defs cman.apps ${MANCAPP}
${RM} -f cman.apps/Makefile
(${ECHO} '#!smake'; \
${ECHO} 'DEPTH=../..'; \
${ECHO} '@MAKEINCLUDE@ @MAKELQUOTE@$${DEPTH}/defs@MAKERQUOTE@';\
${ECHO} 'install:'; \
(cd cman.apps; for i in *.1; do \
f=${MANCAPPNAME}; \
${ECHO} ' $${INSTALL} -m 444 -F $${MAN}/$${MANAPPS} \
-idb $${PRODUCT}.man.client -src' "$$i" '-O' "$$f"; \
done) \
)>cman.apps/Makefile
cman.files/Makefile: ${DEPTH}/defs cman.files ${MANCFILE}
${RM} -f cman.files/Makefile
(${ECHO} '#!smake'; \
${ECHO} 'DEPTH=../..'; \
${ECHO} '@MAKEINCLUDE@ @MAKELQUOTE@$${DEPTH}/defs@MAKERQUOTE@';\
${ECHO} 'install:'; \
(cd cman.files; for i in *.4f; do \
f=${MANCFILENAME}; \
${ECHO} ' $${INSTALL} -m 444 -F $${MAN}/$${MANFILES} \
-idb $${PRODUCT}.man.client -src' "$$i" '-O' "$$f"; \
done) \
)>cman.files/Makefile
sman.apps/Makefile: ${DEPTH}/defs sman.apps ${MANSAPP}
${RM} -f smap.apps/Makefile
(${ECHO} '#!smake'; \
${ECHO} 'DEPTH=../..'; \
${ECHO} '@MAKEINCLUDE@ @MAKELQUOTE@$${DEPTH}/defs@MAKERQUOTE@';\
${ECHO} 'install:'; \
(cd sman.apps; for i in *.1m; do \
f=${MANSAPPNAME}; \
${ECHO} ' $${INSTALL} -m 444 -F $${MAN}/$${MANSYS} \
-idb $${PRODUCT}.man.server -src' "$$i" '-O' "$$f"; \
done) \
)>sman.apps/Makefile
sman.files/Makefile: ${DEPTH}/defs sman.files ${MANSFILE}
${RM} -f sman.files/Makefile
(${ECHO} '#!smake'; \
${ECHO} 'DEPTH=../..'; \
${ECHO} '@MAKEINCLUDE@ @MAKELQUOTE@$${DEPTH}/defs@MAKERQUOTE@';\
${ECHO} 'install:'; \
(cd sman.files; for i in *.4f; do \
f=${MANSFILENAME}; \
${ECHO} ' $${INSTALL} -m 444 -F $${MAN}/$${MANFILES} \
-idb $${PRODUCT}.man.server -src' "$$i" '-O' "$$f"; \
done) \
)>sman.files/Makefile
installClientManPages:: cman.apps/Makefile cman.files/Makefile
-${INSTALL} -m ${DIRMODE} -dir -idb hylafax.man.client \
${MAN} ${MAN}/${MANAPPS} ${MAN}/${MANFILES}
cd cman.apps; ${MAKE} install
cd cman.files; ${MAKE} install
installServerManPages:: sman.apps/Makefile sman.files/Makefile
-${INSTALL} -m ${DIRMODE} -dir -idb hylafax.man.server \
${MAN} ${MAN}/${MANSYS} ${MAN}/${MANFILES}
cd sman.apps; ${MAKE} install
cd sman.files; ${MAKE} install
installClient: targets installClientManPages
install: installClient installServerManPages
|