summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2020-12-02 07:08:24 +0100
committerWerner Lemberg <wl@gnu.org>2020-12-05 09:43:45 +0100
commitf6b0fd7b792933fb601470bf70f2f4285712f449 (patch)
tree038f8c9889c7fac694810bce0b8858ca6cf40fa1 /autogen.sh
parentfcdab61ed16f4c2f9b65a8e2ea3394ecb0d33944 (diff)
downloadfreetype2-f6b0fd7b792933fb601470bf70f2f4285712f449.tar.gz
Improve setup for 'dlg' library.
* autogen.sh (copy_submodule_file), builds/toplevel.mk: Redirect stderr to `/dev/null`. * builds/toplevel.mk: Move code block to handle 'dlg' stuff into `check_platform` conditional. Also fix wildcard expressions for guarding `git submodule` commands. Also make file copying work with non-Unix platforms (untested).
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 560804088..fd5fa1f93 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -166,7 +166,7 @@ chmod +x ./configure
copy_submodule_files ()
{
echo "Copying files from \`submodules/dlg' to \`src/dlg'"
- mkdir src/dlg/dlg
+ mkdir src/dlg/dlg 2> /dev/null
cp $DLG_INC_DIR/dlg.h src/dlg/dlg
cp $DLG_INC_DIR/output.h src/dlg/dlg
cp $DLG_SRC_DIR/* src/dlg