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 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
|
#
# "$Id: Makefile 1439 2005-10-28 20:32:59Z mike $"
#
# Makefile for HTMLDOC documentation files.
#
# Copyright 1997-2001 by Easy Software Products.
#
# These coded instructions, statements, and computer programs are the
# property of Easy Software Products and are protected by Federal
# copyright law. Distribution and use rights are outlined in the file
# "COPYING.txt" which should have been included with this file. If this
# file is missing or damaged please contact Easy Software Products
# at:
#
# Attn: ESP Licensing Information
# Easy Software Products
# 44141 Airport View Drive, Suite 204
# Hollywood, Maryland 20636-3142 USA
#
# Voice: (301) 373-9600
# EMail: info@easysw.com
# WWW: http://www.easysw.com
#
#
# Include common definitions...
#
include ../Makedefs
#
# Documentation files...
#
SOURCES = intro.html 1-install.html 2-starting.html \
3-books.html 4-cmdline.html 5-cgi.html \
6-htmlref.html 7-guiref.html 8-cmdref.html \
a-license.html b-book.html c-relnotes.html \
d-compile.html
DOCUMENTS = htmldoc.html htmldoc.pdf htmldoc.ps
DOCFILES = help.html htmldoc.pdf htmldoc.html htmldoc.ps
HTMLDOC = ../htmldoc/htmldoc$(EXEEXT) --datadir .. --strict --verbose
#
# Make everything...
#
all: $(DOCUMENTS)
#
# Install everything...
#
install: $(DOCUMENTS)
if [ ! -d $(datadir)/doc/htmldoc ]; then\
$(MKDIR) $(datadir)/doc/htmldoc;\
fi
$(CP) $(DOCFILES) $(datadir)/doc/htmldoc
$(CHMOD) ugo+r $(datadir)/doc/htmldoc/*
if [ ! -d $(mandir)/man1 ]; then\
$(MKDIR) $(mandir)/man1;\
fi
$(CP) htmldoc.man $(mandir)/man1/htmldoc.1
$(CHMOD) ugo+r $(mandir)/man1/htmldoc.1
#
# Clean out document files...
#
clean:
$(RM) $(DOCUMENTS)
#
# htmldoc program (dummy rule)
#
../htmldoc/htmldoc$(EXEEXT):
echo Rebuilding documentation...
#
# htmldoc.html
#
htmldoc.html: $(SOURCES) ../htmldoc/htmldoc$(EXEEXT)
echo Formatting htmldoc.html...
$(HTMLDOC) --batch htmldoc.book -f htmldoc.html
#
# htmldoc.pdf
#
htmldoc.pdf: $(SOURCES) ../htmldoc/htmldoc$(EXEEXT)
echo Formatting htmldoc.pdf...
$(HTMLDOC) --batch htmldoc.book -f htmldoc.pdf
#
# htmldoc.ps
#
htmldoc.ps: $(SOURCES) ../htmldoc/htmldoc$(EXEEXT)
echo Formatting htmldoc.ps...
$(HTMLDOC) --batch htmldoc.book -f htmldoc.ps
#
# htmldoc.1
#
htmldoc.1: htmldoc.man
echo Formatting htmldoc.1...
groff -T ascii -man htmldoc.man >htmldoc.1
#
# End of "$Id: Makefile 1439 2005-10-28 20:32:59Z mike $".
#
|