[a1fb8d]: man / Makefile.in Maximize Restore History

Download this file

Makefile.in    87 lines (69 with data), 2.5 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
# only executed from a subdir
MAN1 = man whatis apropos
MAN5 = man.conf
MAN8 = makewhatis
ALL = man.1 whatis.1 apropos.1 man.conf.5
MAYBE8 = makewhatis
.SUFFIXES: .man .1 .5 .8
prefix = @prefix@
exec_prefix = @exec_prefix@
abs_top_srcdir = @abs_top_srcdir@
srcdir = @abs_srcdir@
VPATH = ${srcdir}
SUBST = @
MANPAGE_SED_TRANSFORM = \
-e s'?$(SUBST)makewhatis$(SUBST)?@sbindir@/makewhatis?' \
-e s'?$(SUBST)man_config_file$(SUBST)?@man_config_file@?' \
-e s'?$(SUBST)pager$(SUBST)?@pager@?' \
-e s'?$(SUBST)htmlpager$(SUBST)?@htmlpager@?' \
-e s'?$(SUBST)browser$(SUBST)?@browser@?' \
-e s'?$(SUBST)troff$(SUBST)?@troff@?'
.man.1:
sed $(MANPAGE_SED_TRANSFORM) $< > $@
.man.5:
sed $(MANPAGE_SED_TRANSFORM) $< > $@
.man.8:
sed $(MANPAGE_SED_TRANSFORM) $< > $@
INSTALL = @INSTALL@ -m 644
# Where to put the manual pages.
mandir = ${DESTDIR}@mandir@${SLANG}
ALL_MANDIRS = ${mandir}/man1 ${mandir}/man5 ${mandir}/man8
dest_prefix = ${DESTDIR}${prefix}
all: $(ALL)
for i in $(MAYBE8); \
do if test -f ${srcdir}/$$i.man; then \
make -f ../Makefile srcdir=${srcdir} $$i.8; \
fi; done
install: $(ALL)
${abs_top_srcdir}/mkinstalldirs --require ${dest_prefix} $(ALL_MANDIRS)
for i in $(MAN1); \
do $(INSTALL) $$i.1 ${mandir}/man1/$$i.@man1ext@; done
for i in $(MAN5); \
do $(INSTALL) $$i.5 ${mandir}/man5/$$i.@man5ext@; done
for i in $(MAN8); \
do if test -f $$i.8; then \
$(INSTALL) $$i.8 ${mandir}/man8/$$i.@man8ext@; \
fi; done
clean:
rm -f core *.in *.@man1ext@ *.@man5ext@ *.@man8ext@ *~
spotless:
subdirs:
for i in @languages@; do if test -d ${srcdir}/$$i; then echo; \
echo "==== Making the `cat ${srcdir}/$$i.txt` man pages. ===="; \
test -d $$i || mkdir $$i; \
cd $$i; make -f ../Makefile srcdir=${srcdir}/$$i; cd ..; \
else echo "==== No $$i man pages found. ===="; fi; done
installsubdirs:
-test -n "${DESTDIR}" && ${abs_top_srcdir}/mkinstalldirs ${dest_prefix}
for i in @languages@; do if test -d $$i; then echo; \
echo "==== Installing the `cat ${srcdir}/$$i.txt` man pages. ===="; \
cd $$i; SLANG=/$$i; if test $$SLANG = /en; then SLANG= ; fi; \
export SLANG; make -f ../Makefile install; cd ..; \
else echo "==== No $$i man pages found. ===="; fi; done
cleansubdirs:
for i in ??; do cd $$i; make -f ../Makefile clean; cd ..; done
rm -f core *~
spotlesssubdirs:
for i in ??; do cd $$i; make -f ../Makefile spotless; cd ..; done
rm -f Makefile
$(ALL): ../Makefile