ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/Makefile.in
Revision: 1.19
Committed: Wed Sep 8 17:22:35 2004 UTC (19 years, 9 months ago) by root
Branch: MAIN
CVS Tags: rel-4_8, rel-4_9, rel-4_4, rel-4_6, rel-4_7, rel-4_0, rel-4_1, rel-4_2, rel-4_3
Changes since 1.16: +19 -17 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 # doc/Makefile.in -*- Makefile -*-
2 # $Id: Makefile.in,v 1.18 2004/09/07 15:53:02 root Exp $
3 @MCOMMON@
4
5 srcdir = @srcdir@
6 VPATH = @srcdir@
7 .PATH: @srcdir@
8
9 basedir = ..
10 thisdir = doc
11
12 first_rule: all
13 dummy:
14
15 DIST_ETC = etc/rxvt.termcap etc/rxvt.terminfo etc/XTerm.ad
16 DIST_POD = rxvt.1.pod rxvt.7.pod
17 DIST_MENU = menu/menu menu/example.menu menu/rxvt.menu menu/rxvt.zh-menu\
18 menu/terminal.menu menu/jedmenu.sl
19 DIST = Makefile.in README.menu README.xvt BUGS FAQ TODO\
20 changes.txt xterm.seq LSM.in \
21 rxvt.1.man rxvt.7.man rxvt.1.html rxvt.7.html rxvt.1.txt rxvt.7.txt
22
23 #-------------------------------------------------------------------------
24
25 all:
26
27 SEDREPLACE = -e 's%@@RXVT_VERSION@@%$(VERSION)%g;'\
28 -e 's%@@RXVT_LSMDATE@@%$(LSMDATE)%g;'\
29 -e 's%@@RXVT_NAME@@%$(RXVTNAME)%g;'\
30 -e 's%@@RXVT_DATE@@%$(DATE)%g;'\
31 -e 's%@@RXVT_MAINTEMAIL@@%$(MAINTEMAIL)%g;'\
32 -e 's%@@RXVT_MAINT@@%$(MAINT)%g;'\
33 -e 's%@@RXVT_WEBPAGE@@%$(WEBPAGE)%g;'\
34 -e 's%@@RXVT_WEBMAINTEMAIL@@%$(WEBMAINTEMAIL)%g;'\
35 -e 's%@@RXVT_WEBMAINT@@%$(WEBMAINT)%g;'
36
37 %.tbl: %.pod
38 ./podtbl <$< >$@
39
40 %.1.man.in: %.1.tbl
41 pod2man -n rxvt -r"$(VERSION)" -qnone -s1 -c "RXVT-UNICODE" <$< >$@
42
43 %.7.man.in: %.7.tbl
44 pod2man -n rxvt -r"$(VERSION)" -qnone -s7 -c "RXVT-UNICODE" <$< >$@
45
46 %.html: %.tbl
47 $(SED) $(SEDREPLACE) <$< | pod2html >$@
48
49 %.txt: %.tbl
50 $(SED) $(SEDREPLACE) <$< | pod2text >$@
51
52 ../README.configure: rxvt.7.tbl
53 $(SED) $(SEDREPLACE) <$< | podselect -section "CONFIGURE OPTIONS" | pod2text >$@
54
55 ../README.FAQ: rxvt.7.tbl
56 $(SED) $(SEDREPLACE) <$< | podselect -section "FREQUENTLY ASKED QUESTIONS" | pod2text >$@
57
58 tags allbin:
59
60 alldoc: $(basedir)/$(VERNAME).lsm rxvt.1.man.in rxvt.7.man.in rxvt.1.html rxvt.7.html rxvt.1.txt rxvt.7.txt ../README.configure ../README.FAQ
61
62 $(basedir)/$(VERNAME).lsm: LSM.in $(srcdir)/../autoconf/Make.common.in
63 $(SED) $(SEDREPLACE) < $(srcdir)/LSM.in > $@
64
65 clean:
66 $(RMF) *~
67
68 realclean: clean
69 $(RMF) tags rxvt.1.man.in rxvt.7.man.in rxvt.1.html rxvt.7.html rxvt.1.txt rxvt.7.txt ../README.configure ../README.FAQ
70
71 cleandir: realclean
72
73 distclean:
74
75 install:
76 $(INSTALL) -d $(DESTDIR)$(man1dir)
77 $(INSTALL) -d $(DESTDIR)$(man7dir)
78 $(SED) $(SEDREPLACE) < rxvt.1.man.in >rxvt.1.man
79 $(INSTALL_DATA) rxvt.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME).$(man1ext)
80 $(SED) $(SEDREPLACE) < rxvt.7.man.in >rxvt.7.man
81 $(INSTALL_DATA) rxvt.7.man $(DESTDIR)$(man7dir)/$(RXVTNAME).$(man7ext)
82 $(INSTALL_DATA) rxvtc.1 $(DESTDIR)$(man1dir)/$(RXVTNAME)c.$(man1ext)
83 $(INSTALL_DATA) rxvtc.1 $(DESTDIR)$(man1dir)/$(RXVTNAME)d.$(man1ext)
84 if test -x "@TIC@"; then if test -n "@TIC@"; then @TIC@ etc/rxvt-unicode.terminfo; fi; fi
85
86 uninstall:
87 -(cd $(mandir); $(RMF) $(RXVTNAME).$(manext) )
88
89 distdepend: alldoc
90
91 # ------------------------------------------------------------------------
92 # DO NOT DELETE: ugly dependency list follows