[28809] in Source-Commits

home help back first fref pref prev next nref lref last post

cviewd commit: replace makeinstalldirs with MKDIR_P

daemon@ATHENA.MIT.EDU (Lizhou Sha)
Sat Nov 11 18:14:10 2017

Date: Sat, 11 Nov 2017 18:13:57 -0500
From: Lizhou Sha <slz@mit.edu>
Message-Id: <201711112313.vABNDvYD025299@drugstore.mit.edu>
To: source-commits@mit.edu

https://github.com/mit-athena/cviewd/commit/a0e966f1bc2aafb59b0b1ae0c580490321903e51
commit a0e966f1bc2aafb59b0b1ae0c580490321903e51
Author: Jonathon Weiss <jweiss@mit.edu>
Date:   Wed Mar 8 19:40:26 2017 -0500

    replace makeinstalldirs with MKDIR_P

 Makefile.in  |    5 +++--
 configure.in |    1 +
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index e07d79b..45a7541 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -4,6 +4,7 @@ SHELL=/bin/sh
 VPATH=@srcdir@
 INSTALL=@INSTALL@
 INSTALL_PROGRAM=@INSTALL_PROGRAM@
+MKDIR_P=@MKDIR_P@
 srcdir=@srcdir@
 top_srcdir=@top_srcdir@
 prefix=@prefix@
@@ -30,8 +31,8 @@ cviewd: cviewd.o
 check:
 
 install:
-	${top_srcdir}/mkinstalldirs ${DESTDIR}${sbindir}
-	${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man8
+	${MKDIR_P} ${DESTDIR}${sbindir}
+	${MKDIR_P} ${DESTDIR}${mandir}/man8
 	${INSTALL_PROGRAM} cviewd ${DESTDIR}${sbindir}
 	${INSTALL} -m 444 ${srcdir}/cviewd.8 ${DESTDIR}${mandir}/man8
 
diff --git a/configure.in b/configure.in
index c8a6f03..6c15309 100644
--- a/configure.in
+++ b/configure.in
@@ -3,6 +3,7 @@ AC_INIT(cviewd.c)
 
 AC_PROG_CC
 AC_PROG_INSTALL
+AC_PROG_MKDIR_P
 
 CPPFLAGS="$CPPFLAGS -I$ATHTOOLROOT/usr/athena/include"
 

home help back first fref pref prev next nref lref last post