ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/Makefile.in
(Generate patch)

Comparing rxvt-unicode/doc/Makefile.in (file contents):
Revision 1.8 by root, Fri Jul 30 19:54:14 2004 UTC vs.
Revision 1.27 by ayin, Mon Jan 16 18:07:12 2006 UTC

1# doc/Makefile.in -*- Makefile -*- 1# doc/Makefile.in -*- Makefile -*-
2# $Id: Makefile.in,v 1.8 2004/07/30 19:54:14 root Exp $ 2
3@MCOMMON@ 3DATE=@DATE@
4VERSION=@VERSION@
5RXVTNAME=@RXVTNAME@
6SHELL = /bin/sh
7prefix = @prefix@
8exec_prefix = @exec_prefix@
9bindir = @bindir@
10libdir = @libdir@
11includedir = @includedir@
12man1dir = @mandir@/man1
13man1ext = 1
14man3dir = @mandir@/man3
15man3ext = 3
16man7dir = @mandir@/man7
17man7ext = 7
18CC = @CC@
19CXX = @CXX@
20CPP = @CPP@
21MV = @MV@
22RM = @RM@
23RMF = @RM@ -f
24CP = @CP@
25LN = @LN@
26SED = @SED@
27AWK = @AWK@
28ECHO = @ECHO@
29CMP = @CMP@
30TBL = @TBL@
31PERL = @PERL@
32INSTALL = @INSTALL@
33INSTALL_PROGRAM = @INSTALL@ -m 755
34INSTALL_DATA = @INSTALL@ -m 644
35CXXFLAGS = @CXXFLAGS@
36CPPFLAGS = @CPPFLAGS@ @XPM_CPPFLAGS@
37LDFLAGS = @LDFLAGS@
38DEFS = @DEFS@
39LIBS = @LIBS@
40DINCLUDE = @DINCLUDE@
41DLIB = @DLIB@
42XINC = @X_CFLAGS@ @XPM_CFLAGS@
43XLIB = @X_LIBS@ @XPM_LIBS@ -lX11 @X_EXTRA_LIBS@
44COMPILE = $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS) $(DEBUG) $(DINCLUDE) $(XINC) -I$(basedir) -I$(srcdir) -I.
45LINK = @LINKER@ $(LDFLAGS)
4 46
5srcdir = @srcdir@ 47srcdir = @srcdir@
6VPATH = @srcdir@ 48VPATH = @srcdir@
7.PATH: @srcdir@ 49.PATH: @srcdir@
8 50
10thisdir = doc 52thisdir = doc
11 53
12first_rule: all 54first_rule: all
13dummy: 55dummy:
14 56
15#
16# Distribution variables
17#
18
19YODL_RXVT = yodl/rxvt-colours.yo yodl/rxvt-environment.yo\
20 yodl/rxvt-files.yo yodl/rxvt-fonts.yo yodl/rxvt-login.yo\
21 yodl/rxvt-mousereporting.yo yodl/rxvt-options.yo\
22 yodl/rxvt-resources.yo yodl/rxvt-scrollbar.yo\
23 yodl/rxvt-textselection.yo yodl/versioninfo.yo
24YODL_RREF = yodl/rxvtRef-csi.yo yodl/rxvtRef-definitions.yo\
25 yodl/rxvtRef-keycodes.yo\
26 yodl/rxvtRef-menubar.yo yodl/rxvtRef-mouse.yo\
27 yodl/rxvtRef-privatemodes.yo yodl/rxvtRef-sequences.yo\
28 yodl/rxvtRef-values.yo yodl/rxvtRef-xpm.yo yodl/rxvtRef-xterm.yo\
29 yodl/versioninfo.yo
30
31DIST_ETC = etc/rxvt.termcap etc/rxvt.terminfo etc/XTerm.ad
32DIST_YODL = yodl/masonyodl.yo yodl/versioninfo.yo yodl/versioninfo.yo.in\
33 $(YODL_RXVT) yodl/rxvt.yo $(YODL_RREF) yodl/rxvtRef.yo
34DIST_MENU = menu/menu menu/example.menu menu/rxvt.menu menu/rxvt.zh-menu\
35 menu/terminal.menu menu/jedmenu.sl
36DIST = Makefile.in README.menu README.xvt BUGS FAQ TODO\
37 changes.txt xterm.seq LSM.in rxvt.1 rxvt.tbl rxvtRef.txt\
38 rxvtRef.html rxvtRef-frame.html rxvtRef-toc.html rxvt.html
39
40#------------------------------------------------------------------------- 57#-------------------------------------------------------------------------
41 58
42all: rxvt.1 59all:
43 60
44rxvt.1: rxvt.tbl Makefile 61SEDREPLACE = -e 's%@@RXVT_VERSION@@%$(VERSION)%g;' \
45 @if test x$(TBL) = x; then : ; else echo "$(TBL) $(srcdir)/rxvt.tbl | grep -v '^.lf' > rxvt.1"; $(TBL) $(srcdir)/rxvt.tbl | grep -v '^.lf' > rxvt.1 ; fi 62 -e 's%@@RXVT_NAME@@%$(RXVTNAME)%g;' \
63 -e 's%@@RXVT_DATE@@%$(DATE)%g;' \
64 -e 's%@@RXVT_LIBDIR@@%$(libdir)%g;'
46 65
47SEDREPLACE = -e 's%@RXVT_VERSION@%$(VERSION)%g;'\ 66rxvtperl.3.pod: ../src/urxvt.pm
48 -e 's%@RXVT_LSMDATE@%$(LSMDATE)%g;'\ 67 cp $< $@
49 -e 's%@RXVT_NAME@%$(RXVTNAME)%g;'\ 68
50 -e 's%@RXVT_DATE@%$(DATE)%g;'\ 69%.tbl: %.pod
51 -e 's%@RXVT_MAINTEMAIL@%$(MAINTEMAIL)%g;'\ 70 ./podtbl <$< >$@
52 -e 's%@RXVT_MAINT@%$(MAINT)%g;'\ 71
53 -e 's%@RXVT_WEBPAGE@%$(WEBPAGE)%g;'\ 72%.1.man.in: %.1.tbl
54 -e 's%@RXVT_WEBMAINTEMAIL@%$(WEBMAINTEMAIL)%g;'\ 73 pod2man -n rxvt -r"$(VERSION)" -q\" -s1 -c "RXVT-UNICODE" <$< >$@
55 -e 's%@RXVT_WEBMAINT@%$(WEBMAINT)%g;'\ 74
56 -e 's%@RXVT_FTPSITENAME@%$(FTPSITENAME)%g;'\ 75%.3.man.in: %.3.tbl
57 -e 's%@RXVT_FTPSITEDIR@%$(FTPSITEDIR)%g;' 76 pod2man -n rxvt -r"$(VERSION)" -q\" -s3 -c "RXVT-UNICODE" <$< >$@
77
78%.7.man.in: %.7.tbl
79 pod2man -n rxvt -r"$(VERSION)" -q\" -s7 -c "RXVT-UNICODE" <$< >$@
80
81%.html: %.tbl
82 $(SED) $(SEDREPLACE) <$< | pod2html >$@
83
84%.txt: %.tbl
85 $(SED) $(SEDREPLACE) <$< | pod2text >$@
86
87../README.configure: rxvt.7.tbl
88 $(SED) $(SEDREPLACE) <$< | podselect -section "CONFIGURE OPTIONS" | pod2text >$@
89
90../README.FAQ: rxvt.7.tbl
91 $(SED) $(SEDREPLACE) <$< | podselect -section "FREQUENTLY ASKED QUESTIONS" | pod2text >$@
58 92
59tags allbin: 93tags allbin:
60 94
61alldoc: $(basedir)/$(VERNAME).lsm yodl/versioninfo.yo rxvt.1 rxvt.html rxvtRef.html rxvtRef.txt 95alldoc: rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in rxvtperl.3.man.in \
62 96 rxvt.1.txt rxvt.7.txt rxvtc.1.txt rxvtd.1.txt rxvtperl.3.txt \
63yodl/versioninfo.yo: yodl/versioninfo.yo.in ../src/version.h 97 rxvt.1.html rxvt.7.html rxvtc.1.html rxvtd.1.html rxvtperl.3.html \
64 $(SED) $(SEDREPLACE) < $(srcdir)/yodl/versioninfo.yo.in > $@ 98 ../README.configure ../README.FAQ
65 99 infocmp -C rxvt-unicode >etc/rxvt-unicode.termcap
66$(basedir)/$(VERNAME).lsm: LSM.in $(srcdir)/../autoconf/Make.common.in $(srcdir)/../src/version.h
67 $(SED) $(SEDREPLACE) < $(srcdir)/LSM.in > $@
68
69rxvt.tbl: yodl/rxvt.yo $(YODL_RXVT) yodl/masonyodl.yo
70 (cd $(srcdir)/yodl; yodl2man -o../rxvt.tbl rxvt.yo)
71
72rxvt.html: yodl/rxvt.yo $(YODL_RXVT) yodl/masonyodl.yo
73 (cd $(srcdir)/yodl; yodl2html -o../rxvt.html rxvt.yo)
74
75rxvtRef.html: $(YODL_RREF) yodl/rxvtRef.yo yodl/masonyodl.yo
76 (cd $(srcdir)/yodl; yodl2html -o../rxvtRef.html rxvtRef.yo)
77
78rxvtRef.txt: $(YODL_RREF) yodl/rxvtRef.yo yodl/masonyodl.yo
79 (cd $(srcdir)/yodl; yodl2txt -o../rxvtRef.txt rxvtRef.yo)
80 100
81clean: 101clean:
82 $(RMF) rxvt.man *~ yodl/*~ 102 $(RMF) *~
83 103
84realclean: clean 104realclean: clean
85 $(RMF) tags rxvt.1 rxvt.html rxvtRef.html rxvtRef.txt 105 $(RMF) tags ../README.configure ../README.FAQ
106 $(RMF) rxvt.1.man.in rxvt.7.man.in rxvtc.1.man.in rxvtd.1.man.in
107 $(RMF) rxvt.1.man rxvt.7.man rxvtc.1.man rxvtd.1.man
108 $(RMF) rxvt.1.txt rxvt.7.txt rxvtc.1.txt rxvtd.1.txt
109 $(RMF) rxvt.1.html rxvt.7.html rxvtc.1.html rxvtd.1.html
86 110
87cleandir: realclean 111cleandir: realclean
88 112
89distclean: 113distclean:
90 114
91install: alldoc 115install:
116 $(INSTALL) -d $(DESTDIR)$(man1dir)
117 $(SED) $(SEDREPLACE) < rxvt.1.man.in >rxvt.1.man
92 $(INSTALL_DATA) rxvt.1 $(DESTDIR)$(mandir)/$(RXVTNAME).$(manext) 118 $(INSTALL_DATA) rxvt.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME).$(man1ext)
119 $(SED) $(SEDREPLACE) < rxvtc.1.man.in >rxvtc.1.man
93 $(INSTALL_DATA) rxvtc.1 $(DESTDIR)$(mandir)/$(RXVTNAME)c.$(manext) 120 $(INSTALL_DATA) rxvtc.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)c.$(man1ext)
121 $(SED) $(SEDREPLACE) < rxvtd.1.man.in >rxvtd.1.man
94 $(INSTALL_DATA) rxvtc.1 $(DESTDIR)$(mandir)/$(RXVTNAME)d.$(manext) 122 $(INSTALL_DATA) rxvtd.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME)d.$(man1ext)
123 $(INSTALL) -d $(DESTDIR)$(man7dir)
124 $(SED) $(SEDREPLACE) < rxvt.7.man.in >rxvt.7.man
125 $(INSTALL_DATA) rxvt.7.man $(DESTDIR)$(man7dir)/$(RXVTNAME).$(man7ext)
126@IF_PERL@ $(INSTALL) -d $(DESTDIR)$(man3dir)
127@IF_PERL@ $(SED) $(SEDREPLACE) < rxvtperl.3.man.in >rxvtperl.3.man
128@IF_PERL@ $(INSTALL_DATA) rxvtperl.3.man $(DESTDIR)$(man3dir)/$(RXVTNAME)perl.$(man3ext)
129 if test -x "@TIC@"; then if test -n "@TIC@"; then @TIC@ etc/rxvt-unicode.terminfo; fi; fi
95 130
96uninstall: 131uninstall:
97 -(cd $(mandir); $(RMF) $(RXVTNAME).$(manext) ) 132 -(cd $(mandir); $(RMF) $(RXVTNAME).$(manext) )
98
99distdirs:
100 mkdir $(basedir)/../$(VERNAME)/$(thisdir)
101 mkdir $(basedir)/../$(VERNAME)/$(thisdir)/etc
102 mkdir $(basedir)/../$(VERNAME)/$(thisdir)/menu
103 mkdir $(basedir)/../$(VERNAME)/$(thisdir)/yodl
104
105distcopy: realclean distdepend
106 $(CP) -p $(basedir)/$(VERNAME).lsm $(basedir)/../$(VERNAME);
107 $(CP) -p $(DIST) $(basedir)/../$(VERNAME)/$(thisdir)
108 $(CP) -p $(DIST_ETC) $(basedir)/../$(VERNAME)/$(thisdir)/etc
109 $(CP) -p $(DIST_MENU) $(basedir)/../$(VERNAME)/$(thisdir)/menu
110 $(CP) -p $(DIST_YODL) $(basedir)/../$(VERNAME)/$(thisdir)/yodl
111 133
112distdepend: alldoc 134distdepend: alldoc
113 135
114# ------------------------------------------------------------------------ 136# ------------------------------------------------------------------------
115# DO NOT DELETE: ugly dependency list follows 137# DO NOT DELETE: ugly dependency list follows

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines