_configure_quilt_compat
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Sun, 20 Sep 2020 19:01:50 +0000 (20:01 +0100)
committerAdrian Bunk <bunk@debian.org>
Sun, 20 Sep 2020 19:01:50 +0000 (20:01 +0100)
Avoid '.pc' directories created by quilt.
It breaks qmake projects search.

Gbp-Pq: Name 08_configure_quilt_compat.diff

configure

index 7e3570b9e5253c0f667b008caeddd455296d2aa8..2b3127da698d853849f1a09523af422f53de4c6e 100755 (executable)
--- a/configure
+++ b/configure
@@ -9235,7 +9235,7 @@ fi
 # .projects.3    -> the rest
 rm -f .projects .projects.1 .projects.2 .projects.3
 
-QMAKE_PROJECTS=`find "$relpath/." -name '*.pro' -print | sed 's-/\./-/-'`
+QMAKE_PROJECTS=`find "$relpath/." -name '.pc' -prune -o -name '*.pro' -print | sed 's-/\./-/-'`
 if [ -z "$AWK" ]; then
     for p in `echo $QMAKE_PROJECTS`; do
         echo "$p" >> .projects