Makefile:

Fixed up and simplified the 'release' and 'install' targets; use
	the default ones from binrelease.mk and supply subsidiary recipes.
This commit is contained in:
gdr-ftp 1999-01-14 05:33:20 +00:00
parent ad04b0113e
commit d4ee658beb

View File

@ -1,5 +1,5 @@
#
# $Id: Makefile,v 1.1 1997/10/30 04:04:34 gdr Exp $
# $Id: Makefile,v 1.2 1999/01/14 05:33:20 gdr-ftp Exp $
#
# Program name
@ -13,27 +13,20 @@ STACK = 6144
DEBUG = 1
BINDIR = /usr/bin
TMACDIR = /usr/lib/tmac
LDLIBS = -l/lib/ltermcap
# Don't use the default 'release' and 'install' target.
CUSTOM_RELEASE = true
LDLIBS = -l/usr/lib/libtermcap.204
.INCLUDE: /src/gno/prog.mk
RELTMAC = $(RELEASE_DIR)$(TMACDIR)
release: $(PROG) tmac.an tmac.s nroff.1 man.7 ms.7
$(INSTALL) -d $(RELBIN) $(RELTMAC) $(RELMAN)/man1 $(RELMAN)/man7
$(INSTALL) -m755 nroff $(RELBIN)
release:: tmac.an tmac.s man.7 ms.7
$(INSTALL) -d $(RELTMAC) $(RELMAN)/man7
$(INSTALL) -m644 tmac.an tmac.s $(RELTMAC)
$(INSTALL) -m644 nroff.1 $(RELMAN)/man1
$(INSTALL) -m644 man.7 ms.7 $(RELMAN)/man7
install: $(PROG) tmac.an tmac.s nroff.1 man.7 ms.7
$(INSTALL) -d $(BINDIR) $(TMACDIR) $(MANDIR)/man1 $(MANDIR)/man7
$(INSTALL) -m755 nroff $(BINDIR)
install:: tmac.an tmac.s man.7 ms.7
$(INSTALL) -d $(TMACDIR) $(MANDIR)/man7
$(INSTALL) -m644 tmac.an tmac.s $(TMACDIR)
$(INSTALL) -m644 nroff.1 $(MANDIR)/man1
$(INSTALL) -m644 man.7 ms.7 $(MANDIR)/man7
#