XCOMM $XdotOrg: xc/programs/Xserver/hw/xfree86/doc/Imakefile,v 1.3 2004/08/26 11:58:07 eich Exp $
XCOMM $XConsortium: Imakefile /main/33 1996/10/28 05:12:24 kaleb $





XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/doc/Imakefile,v 3.84 2003/11/22 01:33:31 dawes Exp $

#include <Server.tmpl>
#include <lnxdoc.rules>

#if BuildSgmlDocs || InstallJapaneseDocs
#define IHaveSubdirs
#endif

#if BuildSgmlDocs
SGMLDIR = sgml
#endif

#if InstallJapaneseDocs
JAPANESEDIR = Japanese
#endif

SUBDIRS = $(SGMLDIR) $(JAPANESEDIR)

all::

REPORTFORM = BugReport

#if !BuildLinuxDocText
OSREADMES = \
	ReadmeFile(Darwin)	\
	ReadmeFile(LynxOS)	\
	ReadmeFile(NetBSD)	\
	ReadmeFile(OpenBSD)	\
	OS2.Notes		\
	ReadmeFile(SCO)		\
	ReadmeFile(Solaris)

HWREADME = \
	ReadmeFile(apm)		\
	ReadmeFile(ati)		\
	ReadmeFile(chips)	\
	ReadmeFile(cyrix)	\
	ReadmeFile(DECtga)	\
	ReadmeFile(I128)	\
	ReadmeFile(i740)	\
	ReadmeFile(i810)	\
	ReadmeFile(newport)	\
	ReadmeFile(r128)	\
	ReadmeFile(rendition)	\
	ReadmeFile(s3virge)	\
	ReadmeFile(SiS)

MAINDOCS = LICENSE README BUILD RELNOTES \
	   Install DESIGN Versions

OTHERDOCS = \
	ReadmeFile(fonts) \
	ReadmeFile(mouse) \
	ReadmeFile(dps) \
	ReadmeFile(XKB-Config) \
	ReadmeFile(XKB-Enhancing)
#endif

MISCDOCS = $(REPORTFORM) \
	   VideoBoard98 ReadmeFile(rapidaccess)

DATABASE =

FILES = $(MAINDOCS) $(OSREADMES) $(HWREADME) $(OTHERDOCS) $(MISCDOCS) $(DATABASE)

#if defined XFree86VersionString
VERS = XFree86VersionString
#elif defined (XorgVersionString)
VERS = XorgVersionString
#endif

CppFileTarget(BugReport, BugReport.cpp, -DXF86_VERSION=$(VERS), $(ICONFIGFILES))

InstallMultipleDest(install,$(FILES),$(XFREE86DOCDIR))

#ifdef IHaveSubdirs
MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))
#endif

InstallDriverSDKNonExecFile(DESIGN,$(DRIVERSDKDIR))
