## Define the appropriate configuration variables.

PACKAGE = /fsys2/u2/usystem/software/u++-5.4.1

## Include the architecture dependent definitions.

include $(PACKAGE)/CONFIG

## Define the path names of important directories.

MANDIR = $(PACKAGE)/doc/man

## Define some of the tools.

include $(PACKAGE)/src/MakeTools

## Define the text source files.

MAN = $(addsuffix .1, \
u++ \
)

# Directives #

all : ;

install : $(INSTALLMANDIR) $(INSTALLMANDIR)/man1 $(INSTALLMANDIR)/man1/$(MAN);

depend : ;

clean : ;
	rm -f $(INSTALLMANDIR)/man1/$(MAN)

$(INSTALLMANDIR)/man1/$(MAN) : $(MANDIR)/$(MAN)
	$(INSTALL) $< $@
	$(CHMODDATA) $@

## Create directories (TEMPORARY: fixed in gmake 3.80)

ifeq ($(MAKECMDGOALS),install)
_xxx2 := $(shell mkdir -p $(INSTALLMANDIR)/man1)
endif

## Local Variables: ##
## compile-command: "gmake" ##
## End: ##
