diff options
author | Roland McGrath <roland@redhat.com> | 1993-05-31 22:48:16 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1993-05-31 22:48:16 +0000 |
commit | 3c11aba3cd23529e8fd84d8512c73031407dc9d0 (patch) | |
tree | 9add01682a395b2e46dfdf45a3d4806a14a65d07 /compatMakefile | |
parent | 54fb2729675fd6b10f357abcec89700908bdbd5c (diff) | |
download | gunmake-3c11aba3cd23529e8fd84d8512c73031407dc9d0.tar.gz |
Formerly compatMakefile.~75~
Diffstat (limited to 'compatMakefile')
-rw-r--r-- | compatMakefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/compatMakefile b/compatMakefile index 33816f7..cc080a3 100644 --- a/compatMakefile +++ b/compatMakefile @@ -39,6 +39,7 @@ LDFLAGS = @LDFLAGS@ # without complaint but produce losing code, # so beware. # NeXT 1.0a uses an old version of GCC, which required -D__inline=inline. +# See also `config.h'. defines = @DEFS@ -DLIBDIR=\"$(libdir)\" -DINCLUDEDIR=\"$(includedir)\" # Which flavor of remote job execution support to use. @@ -134,7 +135,7 @@ srcs = $(srcdir)/commands.c $(srcdir)/job.c $(srcdir)/dir.c \ .SUFFIXES: -.SUFFIXES: .o .c .h .ps .dvi .texinfo +.SUFFIXES: .o .c .h .ps .dvi .info .texinfo .PHONY: all check info dvi all: make @@ -196,9 +197,11 @@ $(bindir)/$(instname): make mv $@.new $@ $(infodir)/$(instname).info: make.info - for file in make.info*; do \ + if [ -r ./make.info ]; then dir=.; else dir=$(srcdir); fi; \ + for file in $${dir}/make.info*; do \ + name="`basename $$file`"; \ $(INSTALL_DATA) $$file \ - `echo $@ | sed "s,$(instname).info\$$,$$file,"`; \ + `echo $@ | sed "s,$(instname).info\$$,$$name,"`; \ done $(mandir)/$(instname).$(manext): make.man |