summaryrefslogtreecommitdiff
path: root/compatMakefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1993-05-31 22:48:16 +0000
committerRoland McGrath <roland@redhat.com>1993-05-31 22:48:16 +0000
commit3c11aba3cd23529e8fd84d8512c73031407dc9d0 (patch)
tree9add01682a395b2e46dfdf45a3d4806a14a65d07 /compatMakefile
parent54fb2729675fd6b10f357abcec89700908bdbd5c (diff)
downloadgunmake-3c11aba3cd23529e8fd84d8512c73031407dc9d0.tar.gz
Formerly compatMakefile.~75~
Diffstat (limited to 'compatMakefile')
-rw-r--r--compatMakefile9
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