XCOMM $Id: Imakefile,v 2.3 2003/02/02 22:47:41 schrod Exp $
/* ---------------------------------------------------------------------- */

/*
 * Imakefile for rcs package
 *
 * (history at end)
 */


/* needed modules */
#include <TeX.imk>
#include <makeprog.imk>

#include <install/TeX.imk>

XCOMM ------------------------------------------------------------
XCOMM continue in Imakefile


/* exported files */

MpDoc2TeXTarget(rcs,sty)

TeXTarget(latex,rcs-user)
TeXTarget(latex,rcs-conf)


/* installation */

#ifdef ITI_Site
    DESTDIR = /archives/tex/Install
#endif

InstallTeXLaTeX(misc,rcs.sty)
InstallTeXDoc(latex/styles/rcs,rcs-user.dvi)
InstallTeXDoc(latex/styles/rcs,rcs-conf.dvi)


/* internal documentation */

TeXFileTarget(latex,rcs,doc)


/* export */

export:: all rcs.dvi
	mv rcs-*.dvi rcs.sty ..
	cp style/rcs.el ..
	$(MAKE) realclean

realclean:: clean
	$(RM) Makefile



/* ============================================================
 *
 * $Log: Imakefile,v $
 * Revision 2.3  2003/02/02 22:47:41  schrod
 * Release 3.1.
 *
 * Revision 2.2  1995/08/02  14:23:49  schrod
 *     Add rules & files for distribution.
 *
 * Revision 2.1  1995/08/02  11:54:34  schrod
 *     Substituted Makefile by Imakefile.
 *

 * ------------------------------------------------------------
 * Local Variables:
 * mode: Indented-Text
 * End:
 */