website: configure.ac: always check for mkdir.
In the Makefile we have the following: if WANT_GUIX check: build website.tar.gz index.html history/git-history.jpg rm -rf site/ mkdir -p site/$(WEBSITE_PREFIX) tar xf website.tar.gz -C site/$(WEBSITE_PREFIX) Here the mkdir is used outside of a guix shell, so we need to also check if mkdir is is present when using guix to build the website. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> neox: fixed the commit message Acked-by: Adrien Bourmault <neox@gnu.org>
This commit is contained in:
parent
72db42b77a
commit
11408c82ca
|
@ -90,6 +90,10 @@ AC_CHECK_PROG([FOUND_CAT], [cat], [cat])
|
||||||
AS_IF([test x"$FOUND_CAT" = x""],
|
AS_IF([test x"$FOUND_CAT" = x""],
|
||||||
[AC_MSG_ERROR([cat was not found in PATH ($PATH)])])
|
[AC_MSG_ERROR([cat was not found in PATH ($PATH)])])
|
||||||
|
|
||||||
|
AC_CHECK_PROG([FOUND_MKDIR], [mkdir], [mkdir])
|
||||||
|
AS_IF([test x"$FOUND_MKDIR" = x""],
|
||||||
|
[AC_MSG_ERROR([mkdir was not found in PATH ($PATH)])])
|
||||||
|
|
||||||
AC_CHECK_PROG([FOUND_PRINTF], [printf], [printf])
|
AC_CHECK_PROG([FOUND_PRINTF], [printf], [printf])
|
||||||
AS_IF([test x"$FOUND_PRINTF" = x""],
|
AS_IF([test x"$FOUND_PRINTF" = x""],
|
||||||
[AC_MSG_ERROR([printf was not found in PATH ($PATH)])])
|
[AC_MSG_ERROR([printf was not found in PATH ($PATH)])])
|
||||||
|
@ -161,11 +165,6 @@ AS_IF([test x"$guix" = x"yes"],
|
||||||
[AC_MSG_ERROR(
|
[AC_MSG_ERROR(
|
||||||
[false was not found in PATH ($PATH)])])])
|
[false was not found in PATH ($PATH)])])])
|
||||||
|
|
||||||
AC_CHECK_PROG([FOUND_MKDIR], [mkdir], [mkdir])
|
|
||||||
AS_IF([test x"$FOUND_MKDIR" = x""],
|
|
||||||
[AC_MSG_ERROR(
|
|
||||||
[mkdir was not found in PATH ($PATH)])])
|
|
||||||
|
|
||||||
AC_CHECK_PROG([FOUND_PANDOC], [pandoc], [pandoc])
|
AC_CHECK_PROG([FOUND_PANDOC], [pandoc], [pandoc])
|
||||||
AS_IF([test x"$FOUND_PANDOC" = x""],
|
AS_IF([test x"$FOUND_PANDOC" = x""],
|
||||||
[AC_MSG_ERROR(
|
[AC_MSG_ERROR(
|
||||||
|
|
Loading…
Reference in New Issue