# all files in this directory included in the distribution
DIST = ChangeLog COPYRIGHT DATE INSTALL MACHINES README VERSION \
- ChangeLog install-sh mkinstalldirs Makefile.in aclocal.m4 \
+ ChangeLog install-sh Makefile.in aclocal.m4 \
acconfig.h config.h.in configure.ac configure stamp-h.in \
config.sub config.guess
install: install-etc-files
install-etc-files:
- $(top_srcdir)/mkinstalldirs $(DESTDIR)$(etcdir)
+ mkdir -p $(DESTDIR)$(etcdir)
INSTALL_FILES="$(GENERATED_ETC_FILES)"; \
for file in $(STATIC_FILES); do \
INSTALL_FILES="$$INSTALL_FILES $(srcdir)/$$file"; \
# install the man pages in man1
install-man1:
- $(top_srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man$(manext1)
+ mkdir -p $(DESTDIR)$(mandir)/man$(manext1)
for file in $(MAN1); do \
$(INSTALL_DATA) $$file $(DESTDIR)$(mandir)/man$(manext1) ; \
done
# install the man pages in man5
install-man5:
- $(top_srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man$(manext5)
+ mkdir -p $(DESTDIR)$(mandir)/man$(manext5)
for file in $(MAN5); do \
$(INSTALL_DATA) $$file $(DESTDIR)$(mandir)/man$(manext5) ; \
done
# install the man pages in man7
install-man7:
- $(top_srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man$(manext7)
+ mkdir -p $(DESTDIR)$(mandir)/man$(manext7)
for file in $(MAN7); do \
$(INSTALL_DATA) $$file $(DESTDIR)$(mandir)/man$(manext7) ; \
done
# install the man pages in man8
install-man8:
- $(top_srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man$(manext8)
+ mkdir -p $(DESTDIR)$(mandir)/man$(manext8)
for file in $(MAN8); do \
$(INSTALL_DATA) $$file $(DESTDIR)$(mandir)/man$(manext8) ; \
done
+++ /dev/null
-#! /bin/sh
-# mkinstalldirs --- make directory hierarchy
-# Author: Noah Friedman <friedman@prep.ai.mit.edu>
-# Created: 1993-05-16
-# Last modified: 1994-03-25
-# Public domain
-
-errstatus=0
-
-for file in ${1+"$@"} ; do
- set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
- shift
-
- pathcomp=
- for d in ${1+"$@"} ; do
- pathcomp="$pathcomp$d"
- case "$pathcomp" in
- -* ) pathcomp=./$pathcomp ;;
- esac
-
- if test ! -d "$pathcomp"; then
- echo "mkdir $pathcomp" 1>&2
- mkdir "$pathcomp" || errstatus=$?
- fi
-
- pathcomp="$pathcomp/"
- done
-done
-
-exit $errstatus
-
-# mkinstalldirs ends here
# install commands
install-cmds:
- $(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
+ mkdir -p $(DESTDIR)$(bindir)
for cmd in $(CMDS); do \
$(INSTALL_PROGRAM) $$cmd $(DESTDIR)$(bindir)/$$cmd; \
done
# install misc support binaries
install-misc:
- $(top_srcdir)/mkinstalldirs $(DESTDIR)$(libdir)
+ mkdir -p $(DESTDIR)$(libdir)
for misc in $(MISC); do \
$(INSTALL_PROGRAM) $$misc $(DESTDIR)$(libdir)/$$misc; \
done