XCOMM WRPRC2 (WRPRC Release 2) imake configuration file distribution

#define IHaveSubdirs
#define PassCDebugFlags

        SUBDIRS = config R1-docs

all::
	@echo "run 'make World' to build the distribution"

World::
	@echo ""
	@echo "Building WRPRC $(CONFIGRELEASE) imake configuration file distribution"
	@echo ""
	@date
	@echo ""
	$(MAKE) $(MFLAGS) Makefile
	$(MAKE) $(MFLAGS) Makefiles
	$(MAKE) $(MFLAGS) clean
	@echo ""
	@date
	@echo ""
	@echo "Build of WRPRC2 configuration distribution complete."
	@echo "Now you can run 'make install'"
	@echo ""

HelpAuxTarget(World,build the WRPRC2 distribution)

DISTFILES = \
	README Imakefile Makefile Changes-* Comparison ReleaseDates \
	*.ms tmac.* config examples R1-docs

DISTDIR = WRPRC-$(CONFIGRELEASE)

Distribution::
	$(MAKE) $(MFLAGS) clean
	-$(RM) -r $(DISTDIR)
	MakeDir($(DISTDIR))
	$(CP) -r $(DISTFILES) $(DISTDIR)
	tar cf $(DISTDIR).tar $(DISTDIR)
	gzip $(DISTDIR).tar

StuffToClean($(DISTDIR).tar.gz)
clean::
	$(RM) -r $(DISTDIR)

XCOMM Documents

XCOMM Release 2 documents

documents-ps: tutorial.ps reference.ps p-s.ps limits.ps

XCOMM Tutorial user manual
TroffMsToPostScript(tutorial.ps,tutorial.ms,|$(TBL),NullArg)

XCOMM Reference manual
TroffMsToPostScript(reference.ps,reference.ms,|$(TBL),NullArg)

XCOMM Writing project-specific config files
TroffMsToPostScript(p-s.ps,p-s.ms,NullArg,NullArg)

XCOMM WRPRC2 architecture limitations
TroffMsToPostScript(limits.ps,limits.ms,|$(TBL),NullArg)
