home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 10
/
Fresh_Fish_10_2352.bin
/
gnu
/
amigalib.mk
next >
Wrap
Makefile
|
1995-04-15
|
2KB
|
58 lines
# Amiga Library Services - CD Administration Makefile
#
# This Makefile goes in the root directory of the GNU tree.
SHELL = /bin/sh
MAKE = make
MAKEFILE = AmigaLib.mk
# The "base name" of this CD set. Supply a default value here that is
# typically overridden by an upper level make, or else passed as a command
# line arg.
CDNAME = FreshFish-Vol9
# This is the root directory for the BBS tree. Typically it is assigned
# a value like "FreshFish-Vol8-2:BBS" via a command line arg to Make, or
# else is passed in by an upper level make.
BBSROOT = $(CDNAME)-2:BBS
SCRATCHDIR = /tmp
FLAGS_TO_PASS = \
"MAKE=$(MAKE)" \
"MAKEFILE=$(MAKEFILE)" \
"CDNAME=$(CDNAME)" \
"BBSROOT=$(BBSROOT)" \
"SCRATCHDIR=$(SCRATCHDIR)"
all:
release:
# Build archives in the BBS section of the CD using various parts of this tree.
# There are two sources of material to consider, ready made archives with their
# associated product info files, and files that are scattered throughout the GNU
# tree (like this one) and need to be gathered into archives. In the first case,
# the manifest files "*-bbs" list all the files that simply need to be copied to
# the BBS tree. For the second caes, we run a script that takes care of the
# dirty work of creating the necessary archives from files listed in the other
# manifest files.
#
# In general, there are three archives per program, one for the source, one for
# the binaries, and one for the diffs of the amiga source against the baseline
# source. The packing script requires the name of the BBS directory as a command
# line argument. A default value is provided in BBSROOT, but this can be (and
# normally is) overridden by the upper level makefile that calls this one.
BBS:
$(SHELL) PackGNU.sh $(BBSROOT) $(SCRATCHDIR)
# Clean up this directory.
clean:
rm -f *!
clobber: clean