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
|
# $Id: makefile,v 1.24 2022/12/23 00:55:56 tom Exp $
# construct ".doc" and ".hlp" files from the ".html" files
# NOTE: the perl script uses the version from the running copy of vile rather
# than the source, to apply the version number to .doc files.
# list the html files in the order needed for table of contents
SOURCES = \
vile-man.html \
vile-hlp.html \
config.html \
macros.html \
modes.html \
filters.html \
menus.html \
perl.html \
dir.html \
Vileserv.html \
oleauto.html \
visvile.html
TARGETS = \
../vile.hlp \
vile-man.html \
vile-toc.html \
Vileserv.doc \
config.doc \
dir.doc \
filters.doc \
macros.doc \
menus.doc \
modes.doc \
oleauto.doc \
perl.doc \
visvile.doc
.SUFFIXES: .html .doc .hlp
.html.doc :
rm -f $@
perl make-hlp.pl $< >$@
.html.hlp :
rm -f $@
perl make-hlp.pl $< >$@
all: $(TARGETS)
clean:
mostlyclean:
realclean:
distclean:
:
maintainer-clean:
rm -f $(TARGETS)
vile-toc.html : $(SOURCES)
sh make-toc.sh $(SOURCES)
vile-man.html : ../vile.1
rm -f $@
MAN2HTML_OPTS=-toc ../man2html.tmp ../vile 1 man | sed -e 's,\.\./vile,vile', >$@
../vile.hlp : vile-hlp.html
rm -f $@
perl make-hlp.pl vile-hlp.html >$@
|