| 1 |
pcg |
1.1 |
# doc/Makefile.in -*- Makefile -*- |
| 2 |
|
|
@MCOMMON@ |
| 3 |
|
|
|
| 4 |
|
|
srcdir = @srcdir@ |
| 5 |
|
|
VPATH = @srcdir@ |
| 6 |
|
|
.PATH: @srcdir@ |
| 7 |
|
|
|
| 8 |
|
|
basedir = .. |
| 9 |
|
|
thisdir = doc |
| 10 |
|
|
|
| 11 |
|
|
first_rule: all |
| 12 |
|
|
dummy: |
| 13 |
|
|
|
| 14 |
|
|
#------------------------------------------------------------------------- |
| 15 |
|
|
|
| 16 |
root |
1.14 |
all: |
| 17 |
|
|
|
| 18 |
|
|
SEDREPLACE = -e 's%@@RXVT_VERSION@@%$(VERSION)%g;'\ |
| 19 |
|
|
-e 's%@@RXVT_NAME@@%$(RXVTNAME)%g;'\ |
| 20 |
root |
1.21 |
-e 's%@@RXVT_DATE@@%$(DATE)%g;' |
| 21 |
root |
1.14 |
|
| 22 |
root |
1.19 |
%.tbl: %.pod |
| 23 |
|
|
./podtbl <$< >$@ |
| 24 |
root |
1.14 |
|
| 25 |
root |
1.19 |
%.1.man.in: %.1.tbl |
| 26 |
root |
1.20 |
pod2man -n rxvt -r"$(VERSION)" -q\" -s1 -c "RXVT-UNICODE" <$< >$@ |
| 27 |
root |
1.14 |
|
| 28 |
root |
1.19 |
%.7.man.in: %.7.tbl |
| 29 |
root |
1.20 |
pod2man -n rxvt -r"$(VERSION)" -q\" -s7 -c "RXVT-UNICODE" <$< >$@ |
| 30 |
root |
1.14 |
|
| 31 |
root |
1.19 |
%.html: %.tbl |
| 32 |
|
|
$(SED) $(SEDREPLACE) <$< | pod2html >$@ |
| 33 |
root |
1.14 |
|
| 34 |
root |
1.19 |
%.txt: %.tbl |
| 35 |
|
|
$(SED) $(SEDREPLACE) <$< | pod2text >$@ |
| 36 |
pcg |
1.1 |
|
| 37 |
root |
1.19 |
../README.configure: rxvt.7.tbl |
| 38 |
|
|
$(SED) $(SEDREPLACE) <$< | podselect -section "CONFIGURE OPTIONS" | pod2text >$@ |
| 39 |
pcg |
1.1 |
|
| 40 |
root |
1.19 |
../README.FAQ: rxvt.7.tbl |
| 41 |
|
|
$(SED) $(SEDREPLACE) <$< | podselect -section "FREQUENTLY ASKED QUESTIONS" | pod2text >$@ |
| 42 |
pcg |
1.1 |
|
| 43 |
|
|
tags allbin: |
| 44 |
|
|
|
| 45 |
root |
1.21 |
alldoc: rxvt.1.man.in rxvt.7.man.in rxvt.1.html rxvt.7.html rxvt.1.txt rxvt.7.txt ../README.configure ../README.FAQ |
| 46 |
root |
1.22 |
infocmp -C rxvt-unicode >etc/rxvt-unicode.termcap |
| 47 |
pcg |
1.1 |
|
| 48 |
|
|
clean: |
| 49 |
root |
1.14 |
$(RMF) *~ |
| 50 |
pcg |
1.1 |
|
| 51 |
|
|
realclean: clean |
| 52 |
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 |
| 53 |
pcg |
1.1 |
|
| 54 |
|
|
cleandir: realclean |
| 55 |
|
|
|
| 56 |
|
|
distclean: |
| 57 |
|
|
|
| 58 |
root |
1.14 |
install: |
| 59 |
|
|
$(INSTALL) -d $(DESTDIR)$(man1dir) |
| 60 |
|
|
$(INSTALL) -d $(DESTDIR)$(man7dir) |
| 61 |
root |
1.19 |
$(SED) $(SEDREPLACE) < rxvt.1.man.in >rxvt.1.man |
| 62 |
root |
1.14 |
$(INSTALL_DATA) rxvt.1.man $(DESTDIR)$(man1dir)/$(RXVTNAME).$(man1ext) |
| 63 |
root |
1.19 |
$(SED) $(SEDREPLACE) < rxvt.7.man.in >rxvt.7.man |
| 64 |
root |
1.14 |
$(INSTALL_DATA) rxvt.7.man $(DESTDIR)$(man7dir)/$(RXVTNAME).$(man7ext) |
| 65 |
|
|
$(INSTALL_DATA) rxvtc.1 $(DESTDIR)$(man1dir)/$(RXVTNAME)c.$(man1ext) |
| 66 |
|
|
$(INSTALL_DATA) rxvtc.1 $(DESTDIR)$(man1dir)/$(RXVTNAME)d.$(man1ext) |
| 67 |
root |
1.16 |
if test -x "@TIC@"; then if test -n "@TIC@"; then @TIC@ etc/rxvt-unicode.terminfo; fi; fi |
| 68 |
pcg |
1.1 |
|
| 69 |
|
|
uninstall: |
| 70 |
|
|
-(cd $(mandir); $(RMF) $(RXVTNAME).$(manext) ) |
| 71 |
|
|
|
| 72 |
|
|
distdepend: alldoc |
| 73 |
|
|
|
| 74 |
|
|
# ------------------------------------------------------------------------ |
| 75 |
|
|
# DO NOT DELETE: ugly dependency list follows |