extract release target out to a different file

This commit is contained in:
gdr 1997-10-30 04:26:58 +00:00
parent 81acf39ec5
commit 63235a6c30
2 changed files with 26 additions and 8 deletions

22
binrelease.mk Normal file
View File

@ -0,0 +1,22 @@
#
# Default 'release' and 'install' rules. These are intended for
# typical user programs. They are likely not suitable for system
# daemons, etc.
#
# $Id: binrelease.mk,v 1.1 1997/10/30 04:26:58 gdr Exp $
#
# Place files where they will subsequently be archived in a binary
# distribution.
release: $(PROG) $(PROG).1 $(DESC)
$(INSTALL) -d $(RELBIN) $(RELMAN)/man1 $(DESC_DIR)
$(INSTALL) $(PROG) $(RELBIN)
$(INSTALL) $(PROG).1 $(RELMAN)/man1
$(DESCU) -o $(DESC_SRC) $(DESC_SRC) $(DESC)
# Install files into a live system. This doesn't update the describe
# database.
install: $(PROG) $(PROG).1 $(DESC)
$(INSTALL) -d $(BINDIR) $(MANDIR)/man1 $(DESC_DIR)
$(INSTALL) $(PROG) $(BINDIR)
$(INSTALL) $(PROG).1 $(MANDIR)/man1

12
prog.mk
View File

@ -1,7 +1,7 @@
#
# prog.mk version 1.1.0 (August 31, 1997)
#
# $Id: prog.mk,v 1.3 1997/09/26 06:11:07 gdr Exp $
# $Id: prog.mk,v 1.4 1997/10/30 04:26:58 gdr Exp $
#
# This makefile is intended for use with dmake(1) and occ(1) on Apple IIGS
@ -84,10 +84,6 @@ RELMAN = $(RELEASE_DIR)$(MANDIR)
.INCLUDE: /src/gno/binrules.mk
# Place files where they will subsequently be archived in a binary
# distribution.
release: $(PROG) $(PROG).1 $(DESC)
$(INSTALL) -d $(RELBIN) $(RELMAN)/man1 $(DESC_DIR)
$(INSTALL) $(PROG) $(RELBIN)
$(INSTALL) $(PROG).1 $(RELMAN)/man1
$(DESCU) -o $(DESC_SRC) $(DESC_SRC) $(DESC)
.IF $(CUSTOM_RELEASE) == $(NULL)
.INCLUDE: /src/gno/binrelease.mk
.END