mirror of
https://github.com/GnoConsortium/gno.git
synced 2024-12-21 23:29:16 +00:00
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:
parent
ad04b0113e
commit
d4ee658beb
@ -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
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user