libpsl/debian/patches/0001-remove-git-submodules....

47 lines
992 B
Diff

From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Date: Tue, 5 Jul 2016 11:14:58 -0400
Subject: remove git submodules
we use package dependencies instead when building in debian
---
.gitmodules | 3 ---
autogen.sh | 8 --------
2 files changed, 11 deletions(-)
delete mode 100644 .gitmodules
diff --git a/.gitmodules b/.gitmodules
deleted file mode 100644
index d74114d..0000000
--- a/.gitmodules
+++ /dev/null
@@ -1,3 +0,0 @@
-[submodule "list"]
- path = list
- url = https://github.com/publicsuffix/list
diff --git a/autogen.sh b/autogen.sh
index aee0a7c..d58a432 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -6,12 +6,6 @@ if test $? -ne 0; then
exit 1
fi
-GIT=$(which git 2>/dev/null)
-if test $? -ne 0; then
- echo "No 'git' found. You must install the git package."
- exit 1
-fi
-
# create m4 before gtkdocize
mkdir -p m4 2>/dev/null
@@ -27,8 +21,6 @@ else
$GTKDOCIZE
fi
-$GIT submodule init
-$GIT submodule update
$AUTORECONF --install --force --symlink
echo