[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 05/18] website: configure.ac: always check for mkdir.
From: |
Denis 'GNUtoo' Carikli |
Subject: |
[PATCH v2 05/18] website: configure.ac: always check for mkdir. |
Date: |
Mon, 11 Nov 2024 22:07:40 +0100 |
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>
---
ChangeLog v1->v2:
- Added neox's ack.
- Imported neox's fix to remove leftover text that lost its meaning.
---
website/configure.ac | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/website/configure.ac b/website/configure.ac
index 054e59d8..b3cd6182 100644
--- a/website/configure.ac
+++ b/website/configure.ac
@@ -90,6 +90,10 @@ AC_CHECK_PROG([FOUND_CAT], [cat], [cat])
AS_IF([test x"$FOUND_CAT" = x""],
[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])
AS_IF([test x"$FOUND_PRINTF" = x""],
[AC_MSG_ERROR([printf was not found in PATH ($PATH)])])
@@ -161,11 +165,6 @@ AS_IF([test x"$guix" = x"yes"],
[AC_MSG_ERROR(
[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])
AS_IF([test x"$FOUND_PANDOC" = x""],
[AC_MSG_ERROR(
--
2.34.1
- [PATCH v2 00/18] V2 for last websites patches., Denis 'GNUtoo' Carikli, 2024/11/11
- [PATCH v2 02/18] website: configure.ac: always check for rm., Denis 'GNUtoo' Carikli, 2024/11/11
- [PATCH v2 03/18] website: configure.ac: always check for printf., Denis 'GNUtoo' Carikli, 2024/11/11
- [PATCH v2 04/18] website: configure.ac: always check for cat., Denis 'GNUtoo' Carikli, 2024/11/11
- [PATCH v2 05/18] website: configure.ac: always check for mkdir.,
Denis 'GNUtoo' Carikli <=
- [PATCH v2 01/18] website: configure.ac: check for sed., Denis 'GNUtoo' Carikli, 2024/11/11
- [PATCH v2 10/18] website: review NetBSD page index and convert to GNU Boot point of view., Denis 'GNUtoo' Carikli, 2024/11/11
- [PATCH v2 11/18] website: review FreeBSD page index and convert to GNU Boot point of view., Denis 'GNUtoo' Carikli, 2024/11/11
- [PATCH v2 06/18] website: properly handle the dot dependency., Denis 'GNUtoo' Carikli, 2024/11/11
- [PATCH v2 14/18] website: docs: grub: review and add GNU Boot context., Denis 'GNUtoo' Carikli, 2024/11/11
- [PATCH v2 13/18] website: misc: codenames: review and add GNU Boot context., Denis 'GNUtoo' Carikli, 2024/11/11
- [PATCH v2 07/18] website: remove history/git-history.jpg, Denis 'GNUtoo' Carikli, 2024/11/11
- [PATCH v2 09/18] website: review OpenBSD page index and convert to GNU Boot point of view., Denis 'GNUtoo' Carikli, 2024/11/11
- [PATCH v2 16/18] website: deploy: rsync: use --delete., Denis 'GNUtoo' Carikli, 2024/11/11
- [PATCH v2 21/21] coreboot: blobs.list: fam15h: remove F12NbSmuFirmware.h, Denis 'GNUtoo' Carikli, 2024/11/11