1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-30 06:50:31 +02:00

* Makefile.in (dist-dir): New target, implementing a new dist system.

(installed_h_files): Put in alphabetical order.
Remove duplicate entries for markers.h and unif.h.
(c_files): Remove duplicate entries for markers.c.
(ancillary): Renamed from anillery; all uses changed.  Remove
PLUGIN; it's a directory, and needs special treatment in dist-dir.
Remove all the ../doc/* files; doc/Makefile.in handles that.
This commit is contained in:
Jim Blandy 1996-08-01 08:26:22 +00:00
parent a45b373305
commit 0f7876f515

View file

@ -162,9 +162,9 @@ installed_h_files= __scm.h \
extchrs.h \ extchrs.h \
fdsocket.h \ fdsocket.h \
feature.h \ feature.h \
fports.h \
files.h \ files.h \
filesys.h \ filesys.h \
fports.h \
gc.h \ gc.h \
genio.h \ genio.h \
gsubr.h \ gsubr.h \
@ -173,49 +173,47 @@ installed_h_files= __scm.h \
init.h \ init.h \
ioext.h \ ioext.h \
kw.h \ kw.h \
libguile.h \
list.h \ list.h \
load.h \ load.h \
libguile.h \
mallocs.h \ mallocs.h \
markers.h \ markers.h \
marksweep.h \ marksweep.h \
markers.h \
mbstrings.h \ mbstrings.h \
numbers.h \ numbers.h \
objprop.h \ objprop.h \
pairs.h \ pairs.h \
params.h \
ports.h \ ports.h \
posix.h \ posix.h \
params.h \
print.h \ print.h \
procs.h \
procprop.h \ procprop.h \
procs.h \
ramap.h \ ramap.h \
read.h \ read.h \
root.h \ root.h \
scmhob.h \
scmsigs.h \ scmsigs.h \
sequences.h \ sequences.h \
simpos.h \ simpos.h \
smob.h \ smob.h \
socket.h \ socket.h \
stackchk.h \ stackchk.h \
stime.h \
strings.h \
strop.h \
strorder.h \
strports.h \ strports.h \
struct.h \ struct.h \
symbols.h \ symbols.h \
tag.h \ tag.h \
stime.h \
tags.h \ tags.h \
throw.h \
unif.h \
variable.h \ variable.h \
vectors.h \ vectors.h \
vports.h \ vports.h \
weaks.h \ weaks.h
unif.h \
scmhob.h \
strings.h \
strop.h \
strorder.h \
throw.h \
unif.h
h_files=$(uninstalled_h_files) $(installed_h_files) h_files=$(uninstalled_h_files) $(installed_h_files)
@ -250,7 +248,6 @@ c_files= alist.c \
load.c \ load.c \
mallocs.c \ mallocs.c \
markers.c \ markers.c \
markers.c \
marksweep.c \ marksweep.c \
mbstrings.c \ mbstrings.c \
numbers.c \ numbers.c \
@ -350,36 +347,22 @@ gen_c_files= alist.x \
ancillery = gscm.c \ ancillary = gscm.c \
gscm.h \ gscm.h \
COPYING \ COPYING \
ChangeLog \ ChangeLog \
ChangeLog.scm \ ChangeLog.scm \
Makefile.in \ Makefile.in \
PLUGIN \
acconfig-1.5.h \ acconfig-1.5.h \
configure \ configure \
configure.in \ configure.in \
def.sed \ def.sed \
scmconfig.h.in \ scmconfig.h.in \
fd.h.in \ fd.h.in
../doc/guile.texi \
../doc/guile.ps \
../doc/guile.info \
../doc/guile.info-1 \
../doc/guile.info-2 \
../doc/guile.info-3 \
../doc/guile.info-4 \
../doc/guile.info-5 \
../doc/in.texi \
../doc/in.info \
../doc/in.ps \
../doc/agenda \
../doc/texinfo.tex
c_sources = $(c_files) $(h_files) c_sources = $(c_files) $(h_files)
manifest = $(ancillery) $(c_sources) manifest = $(ancillary) $(c_sources)
.SUFFIXES: .SUFFIXES:
@ -414,6 +397,20 @@ manifest = $(ancillery) $(c_sources)
.PHONY: all .PHONY: all
all: libguile.a all: libguile.a
# The `dist' target in the top-level Makefile uses this `dist-dir'
# target to select the appropriate files for distribution from the
# directory containing this Makefile.
.PHONY: dist-dir
dist-dir:
mkdir ${DISTDIR}
for f in ${manifest}; do \
ln ${srcdir}/$$f ${DISTDIR}; \
done
mkdir ${DISTDIR}/PLUGIN
for f in REQ greet guile.config guile.libs; do \
ln ${srcdir}/PLUGIN/$$f ${DISTDIR}/PLUGIN; \
done
SUBDIR=. SUBDIR=.
manifest: manifest:
for file in $(manifest) ; \ for file in $(manifest) ; \