summaryrefslogtreecommitdiff
path: root/compatMakefile
diff options
context:
space:
mode:
Diffstat (limited to 'compatMakefile')
-rw-r--r--compatMakefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/compatMakefile b/compatMakefile
index 0755b0b..3ccfb6a 100644
--- a/compatMakefile
+++ b/compatMakefile
@@ -107,11 +107,13 @@ TEXI2DVI = texi2dvi
ETAGS = etags -w
CTAGS = ctags -w
+GLOB = glob/libglob.a
+
objs = commands.o job.o dir.o file.o misc.o main.o read.o remake.o \
rule.o implicit.o default.o variable.o expand.o function.o \
vpath.o version.o ar.o arscan.o signame.o remote-$(REMOTE).o \
- getopt.o getopt1.o glob/libglob.a \
- $(ALLOCA) $(extras)
+ getopt.o getopt1.o \
+ $(GLOB) $(ALLOCA) $(extras)
srcs = $(srcdir)/commands.c $(srcdir)/job.c $(srcdir)/dir.c \
$(srcdir)/file.c $(srcdir)/getloadavg.c $(srcdir)/misc.c \
$(srcdir)/main.c $(srcdir)/read.c $(srcdir)/remake.c \
@@ -158,7 +160,7 @@ make: $(objs)
SHELL = /bin/sh
MAKE = make
-glob/libglob.a: FORCE config.h
+$(GLOB): FORCE config.h
cd glob; $(MAKE) libglob.a
FORCE:
@@ -206,7 +208,7 @@ $(infodir)/make.info: make.info
# fail gracefully when there is an unknown command.
if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
if [ -r ./make.info ]; then dir=.; else dir=$(srcdir); fi; \
- install-info --infodir=$(infodir) $$dir/make.info; \
+ install-info --info-dir=$(infodir) $$dir/make.info; \
else true; fi
$(mandir)/$(manprefix)make.$(manext): make.man