XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:42:05 cpqbld Exp $

XCOMM Format the documentation about the release as a whole.
XCOMM The files generated here are shipped in the top-level
XCOMM xc/ directory.

XCOMM $XFree86: xc/doc/misc/Imakefile,v 1.3.2.1 2001/05/24 18:54:10 dawes Exp $

MakeSimpleDoc(RELNOTES,RELNOTES.ms)

MakeSimpleDoc(INSTALL,INSTALL.ms)

/* the rules should be updated to generate .TXT extensions normally */

RELNOTES.TXT: RELNOTES.txt
	$(MV) RELNOTES.txt RELNOTES.TXT

INSTALL.TXT: INSTALL.txt
	$(MV) INSTALL.txt INSTALL.TXT

clean::
	$(RM) RELNOTES.TXT INSTALL.TXT


  TARGETS = RELNOTES.PS RELNOTES.TXT INSTALL.PS INSTALL.TXT

AllTarget($(TARGETS))

#ifndef UpdateDocsInSource
#define UpdateDocsInSource NO
#endif

#if UpdateDocsInSource
SOURCETARGET = install
#else
SOURCETARGET = update
#endif

$(SOURCETARGET):: $(TARGETS)
	$(CP) RELNOTES.TXT $(TOP)/RELNOTES-X.org
	$(CP) INSTALL.TXT $(TOP)/INSTALL-X.org

InstallRoffDoc(INSTALL)
InstallRoffDoc(RELNOTES)
