use $(MKDIR_P) if available, $(mkdir_p) otherwise (Alon Bar-Lev)

master
szaka 2008-05-26 23:46:43 +00:00
parent 70ecc5be0c
commit 34329cf27e
2 changed files with 6 additions and 1 deletions

View File

@ -344,6 +344,11 @@ if test -z "${docdir}"; then
docdir="\$(datarootdir)/doc/\$(PACKAGE_NAME)"
AC_SUBST([docdir])
fi
# workaround for <automake-1.10
if test -z "${MKDIR_P}"; then
MKDIR_P="\$(mkdir_p)"
AC_SUBST([MKDIR_P])
fi
# generate files
AC_CONFIG_FILES([

View File

@ -39,7 +39,7 @@ endif
if ENABLE_MOUNT_HELPER
install-exec-local: install-rootbinPROGRAMS
$(mkdir_p) "$(DESTDIR)/sbin"
$(MKDIR_P) "$(DESTDIR)/sbin"
$(LN_S) -f "$(rootbindir)/ntfs-3g" "$(DESTDIR)/sbin/mount.ntfs-3g"
endif