File:  [Coherent Logic Development] / freem / doc / Makefile.orig
Revision 1.1: download - view: text, annotated - select for diffs
Sat Mar 1 02:00:54 2025 UTC (4 weeks, 3 days ago) by snw
Branches: MAIN
CVS tags: v0-62-3, v0-62-2, v0-62-1, v0-62-0, HEAD
Reintroduce makefile for documentation

#
#                            *
#                           * *
#                          *   *
#                     ***************
#                      * *       * *
#                       *  MUMPS  *
#                      * *       * *
#                     ***************
#                          *   *
#                           * *
#                            *
#
#   Makefile.orig (doc)
#    makes distributable documentation
#    this file is needed even though FreeM has been autoconfiscated
#
#  
#   Author: Serena Willis <snw@coherent-logic.com>
#    Copyright (C) 1998 MUG Deutschland
#    Copyright (C) 2020 Coherent Logic Development LLC
#
#
#   This file is part of FreeM.
#
#   FreeM is free software: you can redistribute it and/or modify
#   it under the terms of the GNU Affero Public License as published by
#   the Free Software Foundation, either version 3 of the License, or
#   (at your option) any later version.
#
#   FreeM is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU Affero Public License for more details.
#
#   You should have received a copy of the GNU Affero Public License
#   along with FreeM.  If not, see <https://www.gnu.org/licenses/>.
#
#

DOCFILES = freem.info.gz freem.pdf freem.ps freem.dvi
TRASH = freem.aux freem.cp freem.cps freem.log freem.toc
 
all: $(DOCFILES) html_multi
	rm -f $(TRASH)

freem.info.gz: freem.texi
	makeinfo freem.texi
	gzip freem.info

freem.pdf: freem.texi
	texi2pdf freem.texi

freem.ps: freem.texi
	texi2dvi --ps freem.texi

html_multi: freem.texi
	texi2html --css-ref="https://freem.coherent-logic.com/css/manual.css" --split=node freem.texi


dist:
	tar cvzf freem_documentation.tar.gz $(DOCFILES) freem/*.html freem.texi

clean:
	rm -f $(DOCFILES) $(TRASH) *.html

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>