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

# User Rev Content
1 pcg 1.1 # doc/Makefile.in -*- Makefile -*-
2 root 1.19 # $Id: Makefile.in,v 1.18 2004/09/07 15:53:02 root Exp $
3 pcg 1.1 @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 root 1.14 DIST_POD = rxvt.1.pod rxvt.7.pod
17 pcg 1.1 DIST_MENU = menu/menu menu/example.menu menu/rxvt.menu menu/rxvt.zh-menu\
18     menu/terminal.menu menu/jedmenu.sl
19 pcg 1.4 DIST = Makefile.in README.menu README.xvt BUGS FAQ TODO\
20 root 1.14 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 pcg 1.1
23     #-------------------------------------------------------------------------
24    
25 root 1.14 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 root 1.19 %.tbl: %.pod
38     ./podtbl <$< >$@
39 root 1.14
40 root 1.19 %.1.man.in: %.1.tbl
41     pod2man -n rxvt -r"$(VERSION)" -qnone -s1 -c "RXVT-UNICODE" <$< >$@
42 root 1.14
43 root 1.19 %.7.man.in: %.7.tbl
44     pod2man -n rxvt -r"$(VERSION)" -qnone -s7 -c "RXVT-UNICODE" <$< >$@
45 root 1.14
46 root 1.19 %.html: %.tbl
47     $(SED) $(SEDREPLACE) <$< | pod2html >$@
48 root 1.14
49 root 1.19 %.txt: %.tbl
50     $(SED) $(SEDREPLACE) <$< | pod2text >$@
51 pcg 1.1
52 root 1.19 ../README.configure: rxvt.7.tbl
53     $(SED) $(SEDREPLACE) <$< | podselect -section "CONFIGURE OPTIONS" | pod2text >$@
54 pcg 1.1
55 root 1.19 ../README.FAQ: rxvt.7.tbl
56     $(SED) $(SEDREPLACE) <$< | podselect -section "FREQUENTLY ASKED QUESTIONS" | pod2text >$@
57 pcg 1.1
58     tags allbin:
59    
60 root 1.19 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 pcg 1.1
62 root 1.14 $(basedir)/$(VERNAME).lsm: LSM.in $(srcdir)/../autoconf/Make.common.in
63 pcg 1.1 $(SED) $(SEDREPLACE) < $(srcdir)/LSM.in > $@
64    
65     clean:
66 root 1.14 $(RMF) *~
67 pcg 1.1
68     realclean: clean
69 root 1.19 $(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 pcg 1.1
71     cleandir: realclean
72    
73     distclean:
74    
75 root 1.14 install:
76     $(INSTALL) -d $(DESTDIR)$(man1dir)
77     $(INSTALL) -d $(DESTDIR)$(man7dir)
78 root 1.19 $(SED) $(SEDREPLACE) < rxvt.1.man.in >rxvt.1.man
79 root 1.14 $(INSTALL_DATA) rxvt.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME).$(man1ext)
80 root 1.19 $(SED) $(SEDREPLACE) < rxvt.7.man.in >rxvt.7.man
81 root 1.14 $(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 root 1.16 if test -x "@TIC@"; then if test -n "@TIC@"; then @TIC@ etc/rxvt-unicode.terminfo; fi; fi
85 pcg 1.1
86     uninstall:
87     -(cd $(mandir); $(RMF) $(RXVTNAME).$(manext) )
88    
89     distdepend: alldoc
90    
91     # ------------------------------------------------------------------------
92     # DO NOT DELETE: ugly dependency list follows