[4f355a]: Makefile.in Maximize Restore History

Download this file

Makefile.in    164 lines (129 with data), 5.0 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
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
# Makefile for man
# Source: Makefile.in -- processed by configure, to create Makefile.
#
# Copyright (C) 2005, Keith D. Marshall <keithmarshall@users.sourceforge.net>
#
# (Based on an unaccredited original implementation, believed to be the
# work of John W. Eaton and/or Andries E. Brouwer).
#
# 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.
# 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}
LN_S = @LN_S@
ZIPCMD = gzip
ZIPEXT = .gz
# Allow "configure" to choose if message catalogues will be built,
# and subsequently installed.
make_messages = @make_messages@
install_messages = @make_install_messages@
all: Makefile $(config_sed) tools source manhtml manpages $(make_messages)
@echo; echo 'You can now do "make install"'
.PHONY: FORCE
FORCE:
# On a machine with time before distribution time
# it may be necessary to touch all distributed files
Makefile: Makefile.in configure
@echo "Please run configure first"
exit 1
config.sed: configure
@echo "Please run configure first"
exit 1
src/Makefile: $(config_sed) src/Makefile.in
cd src; sed -f ../config.sed Makefile.in > Makefile
man2html/Makefile: $(config_sed) man2html/Makefile.in
cd man2html; sed -f ../config.sed Makefile.in > Makefile
man/Makefile: $(config_sed) man/Makefile.in
cd man; sed -f ../config.sed Makefile.in > Makefile
msgs/Makefile: $(config_sed) msgs/Makefile.in
cd msgs; sed -f ../config.sed Makefile.in > Makefile
makefiles: src/Makefile man2html/Makefile man/Makefile msgs/Makefile
tools: tools/Makefile FORCE
cd tools; $(MAKE) @man_tools_required@
source: src/Makefile FORCE
cd src; $(MAKE)
manhtml: man2html/Makefile source
cd man2html; $(MAKE)
manpages: man/Makefile FORCE
cd man; $(MAKE) subdirs
messages: msgs/Makefile source
cd msgs; $(MAKE)
install: install-core $(install_messages) install-done
install-core: src/Makefile man/Makefile man2html/Makefile
cd src; $(MAKE) install
cd man2html; $(MAKE) install
cd man; $(MAKE) installsubdirs
install-messages: msgs/Makefile
cd msgs; $(MAKE) install
install-done:
@echo; echo 'Done.'
@echo 'If you would like to enable a www browser for man pages.'
@echo '"cd man2html", read README, and perhaps "make install-scripts".'
# @echo; echo 'Done. In case you want to mount /usr read-only, please'
# @echo 'install a symlink /usr/man/whatis -> /var/catman/whatis,'
# @echo '(or to whatever cat page location is appropriate).'
CLEANDIRS = src tools man2html man msgs
DISTCLEANFILES = Makefile auto* *.orig *.rej config.h config.[cls]*
CLEANFILES = core *~ *.stackdump
clean: src/Makefile man/Makefile msgs/Makefile man2html/Makefile
for dir in $(CLEANDIRS); \
do (cd $$dir; $(MAKE) $@); \
done
rm -f $(CLEANFILES)
spotless distclean realclean:
for dir in $(CLEANDIRS); \
do (cd $$dir; $(MAKE) $@); \
done
rm -rf $(CLEANFILES) $(DISTCLEANFILES)
# Distribution packaging and verification rules
distdir = @PACKAGE_NAME@-@PACKAGE_VERSION@
DISTNAME = ${distdir}`test -n "$(BUILD)" && echo -`$(BUILD)
DISTDIRS = src src/win32 man man/?? tools msgs misc catopen \
man2html man2html/scripts/cgi*/man
DISTCLEANDIRS = $(CLEANDIRS) src/win32
.PHONY: dist distdir distcheck distpackage
dist: distdir distpackage
rm -rf ${distdir}
distdir:
rm -rf ${distdir}; mkdir ${distdir}
srcdir=`cd ${srcdir}; pwd`; manifest=`cd ${srcdir}; echo $(DISTDIRS)`; \
cd ${distdir}; $$srcdir/mkinstalldirs $$manifest
srcdir=`cd ${srcdir}; pwd`; cd ${distdir}; \
for file in `cd $$srcdir; echo *`; \
do if test -f $$srcdir/$$file; then \
$(LN_S) $$srcdir/$$file .; \
fi; \
done
srcdir=`cd ${srcdir}; pwd` distdir=`cd ${distdir}; pwd`; \
for dir in `cd $$distdir; echo $(DISTDIRS)`; \
do cd $$distdir/$$dir; \
for file in `cd $$srcdir/$$dir; echo *`; \
do if test -f $$srcdir/$$dir/$$file; then \
$(LN_S) $$srcdir/$$dir/$$file .; \
fi; \
done; \
done
srcdir=`pwd` distdir=`cd ${distdir}; pwd`; \
for dir in . $(DISTCLEANDIRS); \
do cd $$distdir/$$dir; \
$(LN_S) $$srcdir/$$dir/Makefile .; \
done
cd ${distdir}; $(MAKE) srcdir=. top_srcdir=`pwd` distclean
distpackage: distdir
tar chf - ${distdir} | $(ZIPCMD) > $(DISTNAME).tar$(ZIPEXT)
# $RCSfile$: end of file -- vim: ft=make