freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] priyesh_LogLibrary 117da1f: Minor Changes in autogen.sh and


From: Priyesh Kumar
Subject: [freetype2] priyesh_LogLibrary 117da1f: Minor Changes in autogen.sh and builds/toplevel.mk
Date: Wed, 22 Jul 2020 09:26:57 -0400 (EDT)

branch: priyesh_LogLibrary
commit 117da1f7e6aad18ae647f0c52191847c8ce1c993
Author: Priyesh Kumar <priyeshkkumar@gmail.com>
Commit: Priyesh Kumar <priyeshkkumar@gmail.com>

    Minor Changes in autogen.sh and builds/toplevel.mk
---
 [priyesh]ChangeLog | 5 +++++
 autogen.sh         | 5 +++--
 builds/toplevel.mk | 9 +++++----
 src/dlg/rules.mk   | 4 ++--
 4 files changed, 15 insertions(+), 8 deletions(-)

diff --git a/[priyesh]ChangeLog b/[priyesh]ChangeLog
index b8519db..07217c4 100644
--- a/[priyesh]ChangeLog
+++ b/[priyesh]ChangeLog
@@ -1,5 +1,10 @@
 2020-07-22  Priyesh Kumar   <priyeshkkumar@gmail.com>
 
+    * Changed `builds/toplevel.mk' and `autogen.sh' to copy dlg's include
+      files from `submodules/dlg' to `src/dlg/dlg' due to include path errors
+      on windows.
+      Updated `rules.mk' w.r.t to above changes.
+
     * Updated `builds/toplevel.mk' so that for builds that do not use 
       `./configure' script dlg files are copied from `submodules/dlg' to
       `src/dlg'.
diff --git a/autogen.sh b/autogen.sh
index f84c956..fdf3df7 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -165,8 +165,9 @@ chmod +x ./configure
 copy_submodule_files()
 {
   echo "Copying files from \`submodules/dlg' to \`src/dlg'"
-  cp $DLG_INC_DIR/dlg.h src/dlg
-  cp $DLG_INC_DIR/output.h src/dlg
+  mkdir src/dlg/dlg
+  cp $DLG_INC_DIR/dlg.h src/dlg/dlg
+  cp $DLG_INC_DIR/output.h src/dlg/dlg
   cp $DLG_SRC_DIR/* src/dlg
 }
 
diff --git a/builds/toplevel.mk b/builds/toplevel.mk
index b79f310..f3c4ad9 100644
--- a/builds/toplevel.mk
+++ b/builds/toplevel.mk
@@ -107,15 +107,16 @@ endif
 # from `submodule/dlg' to `src/dlg'
 #
 ifeq ($(wildcard src/dlg/dlg.*),)
-  ifeq ($(wildcard submodules/dlg/.*),)
-       $(info Submodule check out in `submodules/slg' )
+  ifeq ($(wildcard submodules/dlg/dlg.*),)
+       $(info Submodule check out in `submodules/dlg' )
        $(shell git submodule init)
        $(shell git submodule update)
   endif
 
   $(info Copying files from `submodules/dlg' to `src/dlg')
-  $(shell cp submodules/dlg/include/dlg/dlg.h src/dlg/)
-  $(shell cp submodules/dlg/include/dlg/output.h src/dlg/)
+  $(shell mkdir src/dlg/dlg)
+  $(shell cp submodules/dlg/include/dlg/dlg.h src/dlg/dlg)
+  $(shell cp submodules/dlg/include/dlg/output.h src/dlg/dlg)
   $(shell cp submodules/dlg/src/dlg/dlg.c src/dlg/)
 endif
 
diff --git a/src/dlg/rules.mk b/src/dlg/rules.mk
index 67d5a89..3c8f652 100644
--- a/src/dlg/rules.mk
+++ b/src/dlg/rules.mk
@@ -31,8 +31,8 @@ DLG_SRC := $(DLG_DIR)/dlg.c
 
 # dlg logging library headers
 #
-DLG_H := $(DLG_SRC:%.c=%.h) \
-             $(DLG_DIR)/output.h
+DLG_H := $(DLG_DIR)/dlg/dlg.h \
+             $(DLG_DIR)/dlg/output.h
 
 
 # dlg logging library object(s)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]