[5693c9]: man2html / Makefile.in Maximize Restore History

Download this file

Makefile.in    125 lines (102 with data), 4.1 kB

  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
# Makefile for man2html
# Source: Makefile.in -- processed by configure, to create Makefile.
#
# Copyright (C) 1990, 1991, John W. Eaton.
# Copyright (C) 1994-2001, Andries E. Brouwer
# Copyright (C) 2005, Keith D. Marshall <keithmarshall@users.sourceforge.net>
#
# This file is part of the man package.
#
# man is free software; you can redistribute it and/or modify it under the
# terms of the GNU General Public License as published by the Free Software
# Foundation; either version 2, or (at your option) any later version.
#
# man is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along
# with man; see the file COPYING. If not, write to the Free Software
# Foundation, 51 Franklin St - Fifth Floor, Boston, MA 02110-1301, USA.
# Package identification.
package = @PACKAGE_NAME@
version = @PACKAGE_VERSION@
# To allow building in a separate build directory,
# (when the "make" program in use supports the VPATH capability),
# set up the srcdir mapping to VPATH.
srcdir = @srcdir@
VPATH = ${srcdir}
# Other autoconf defined path names.
top_srcdir = @top_srcdir@
exec_prefix = @exec_prefix@
prefix = @prefix@
bindir = @bindir@
mandir = @mandir@
OBJEXT = @OBJEXT@
EXEEXT = @EXEEXT@
CC = @CC@
CWARN = @CWARN@
CFLAGS = @CFLAGS@
OBJECTS = man2html.$(OBJEXT) cgibase.$(OBJEXT) abbrev.$(OBJEXT) strdefs.$(OBJEXT)
INSTALL = @INSTALL@
.c.o:
$(CC) -c $(CFLAGS) $(CWARN) -I. -o $@ $<
LN_S = @LN_S@
all: man2html$(EXEEXT) hman README
.PHONY: FORCE
FORCE:
README: FORCE
test -e README || $(LN_S) ${srcdir}/README $@
man2html$(EXEEXT): $(OBJECTS)
$(CC) $(LDFLAGS) -o man2html $(OBJECTS)
$(OBJECTS): defs.h
man2html.$(OBJEXT): version.h
version.h: ${top_srcdir}/configure.ac Makefile
echo 'static char version[] = "$(version)";' > $@
# This installs the man2html utility
install: man2html$(EXEEXT)
${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
test -z "${DESTDIR}" || ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir}
${top_srcdir}/mkinstalldirs --require ${DESTDIR}${prefix} ${DESTDIR}${bindir}
$(INSTALL) -m 755 man2html$(EXEEXT) ${DESTDIR}${bindir}/man2html$(EXEEXT)
$(INSTALL) -m 644 ${srcdir}/man2html.1 ${DESTDIR}${mandir}/man1/man2html.@man1ext@
install-scripts: install-man-scripts install-glimpse-stuff install-hman
# These are the scripts that allow pointing a browser at
# http://localhost/cgi-bin/man/man2html
# to work.
#
vardir = ${DESTDIR}/var
httpdir = ${DESTDIR}/home/httpd
cgiowner = nobody
cgigroup = nobody
# (aux was renamed to cgi-aux since aux causes problems under DOS)
#
install-man-scripts:
${top_srcdir}/mkinstalldirs ${httpdir}/cgi-bin/man ${httpdir}/cgi-aux/man
$(INSTALL) -m 755 ${srcdir}/scripts/cgi-bin/man/man* ${httpdir}/cgi-bin/man
$(INSTALL) -m 644 ${srcdir}/scripts/cgi-aux/man/man* ${httpdir}/cgi-aux/man
$(INSTALL) -d -o $(cgiowner) -g $(cgigroup) -m 775 ${vardir}/man2html
# If you have installed glimpse, and have compressed man pages,
# then perhaps you also want these filters.
install-glimpse-stuff:
$(INSTALL) -m 644 ${srcdir}/glimpse_filters ${vardir}/man2html/.glimpse_filters
# In order not to have to type a long command like
# netscape http://localhost/cgi-bin/man/man2html?section+topic
# or
# lynx lynxcgi:/home/httpd/cgi-bin/man/man2html?section+topic
# it is convenient to have some shell script as a wrapper.
# The script hman can be aliased to man. It uses an environment
# variable MANHTMLPAGER to find out which browser you use, and
# you can set MANHTMLHOST if the pages are not on localhost.
hman: hman.sh
rm -f hman
sed -e 's,%version%,$(package)-$(version),' ${srcdir}/hman.sh > hman
install-hman: hman
$(INSTALL) -m 555 hman ${DESTDIR}${bindir}/hman
$(INSTALL) -m 644 ${srcdir}/hman.1 ${DESTDIR}${mandir}/man1/hman.@man1ext@
clean:
rm -f core hman man2html$(EXEEXT) $(OBJECTS) *~ *.stackdump
distclean realclean spotless: clean
rm -f Makefile *.orig *.rej
$(OBJECTS): defs.h