stk/Doc/Makefile

59 lines
1.3 KiB
Makefile
Raw Normal View History

1996-09-27 06:29:02 -04:00
#
# Documentation Makefile
#
1999-09-05 07:16:41 -04:00
# Copyright <20> 1994-1999 Erick Gallesio - I3S-CNRS/ESSI <eg@unice.fr>
1996-09-27 06:29:02 -04:00
#
1999-09-05 07:16:41 -04:00
# Permission to use, copy, modify, distribute,and license this
# software and its documentation for any purpose is hereby granted,
# provided that existing copyright notices are retained in all
# copies and that this notice is included verbatim in any
# distributions. No written agreement, license, or royalty fee is
# required for any of the authorized uses.
# This software is provided ``AS IS'' without express or implied
# warranty.
1996-09-27 06:29:02 -04:00
#
# Author: Erick Gallesio [eg@unice.fr]
# Creation date: 21-Oct-1994 11:25
1999-09-27 07:20:21 -04:00
# Last file update: 12-Sep-1999 20:31 (eg)
1996-09-27 06:29:02 -04:00
include ../config.make
MAN1_DIR=$(mandir)/man1
MANN_DIR=$(mandir)/mann
1999-09-27 07:20:21 -04:00
DOC_DIR=$(prefix)/doc/stk-$(VERSION)
1996-09-27 06:29:02 -04:00
DIRS=Extension Reference STklos+Tk Manual Isotas96
1999-09-27 07:20:21 -04:00
install: install.man install.ps
1996-09-27 06:29:02 -04:00
all: dvi ps
1998-04-10 06:59:06 -04:00
1996-09-27 06:29:02 -04:00
dvi:
for i in $(DIRS) ;do \
(cd $$i; $(MAKE) dvi); \
done
ps:
for i in $(DIRS) ;do \
(cd $$i; $(MAKE) ps); \
done
1998-04-10 06:59:06 -04:00
1996-09-27 06:29:02 -04:00
install.man:
1998-04-10 06:59:06 -04:00
(cd Manual; make install.man)
1996-09-27 06:29:02 -04:00
1999-09-27 07:20:21 -04:00
install.ps:
-if [ ! -d $(DOC_DIR) ] ; then mkdir -p $(DOC_DIR); fi
(cd Extension; make install DOC_DIR=$(DOC_DIR))
(cd Reference; make install DOC_DIR=$(DOC_DIR))
1996-09-27 06:29:02 -04:00
clean:
for i in $(DIRS) ;do \
(cd $$i; $(MAKE) clean); \
done
very-clean:
for i in $(DIRS) ;do \
(cd $$i; $(MAKE) very-clean); \
done