XCOMM    RXX 4.2.3 Imakefile.

         PROGRAMS = rxx

XCOMM If you want to specify your own install location, un-XCOMM these
XCOMM  next few lines, and tailor them as appropriate...
XCOMM This says "install as /u/steve/bin/rxx, with the man page
XCOMM  in /u/steve/man/man1/rxx.1"

XCOMM BINDIR     = /u/steve/bin
XCOMM MANPATH    = /u/steve/man
XCOMM MANSUFFIX  = 1

all:: $(PROGRAMS)

install:: safe

InstallNamedProg(rxx.pl,rxx,$(BINDIR))
InstallManPage(rxx,$(MANDIR))
InstallManPageAliases(rxx,$(MANDIR),rx rxterm)

install::
	$(RM) $(BINDIR)/rxterm $(BINDIR)/rx
	$(LN) $(BINDIR)/rxx $(BINDIR)/rxterm
	$(LN) $(BINDIR)/rxx $(BINDIR)/rx

safe:
	@grep -s 'debug = 0' rxx.pl >/dev/null 2>&1 || false

shar: safe
	makekit -m -p


