summaryrefslogtreecommitdiff
path: root/compatMakefile
diff options
context:
space:
mode:
Diffstat (limited to 'compatMakefile')
-rw-r--r--compatMakefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/compatMakefile b/compatMakefile
index 6a28520..ae2973e 100644
--- a/compatMakefile
+++ b/compatMakefile
@@ -173,10 +173,14 @@ TAGS: $(tagsrcs)
tags: $(tagsrcs)
$(CTAGS) $(tagsrcs)
-.PHONY: install
-install: $(bindir)/$(instname) $(infodir)/$(instname).info \
+.PHONY: install installdirs
+install: installdirs \
+ $(bindir)/$(instname) $(infodir)/$(instname).info \
$(mandir)/$(instname).$(manext)
+installdirs:
+ ${srcdir}/mkinstalldirs
+
$(bindir)/$(instname): make
$(INSTALL_PROGRAM) make $@.new
# These are necessary for load-average checking to work on most Unix machines.