avoid git submodules

This commit is contained in:
Daniel Kahn Gillmor 2015-08-06 15:52:14 -04:00
parent 96f1369d8e
commit a80e6a3430
2 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,46 @@
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Date: Thu, 6 Aug 2015 15:51:16 -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 9de26f5..2c6dc20 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 m4 2>/dev/null
@@ -27,8 +21,6 @@ else
$GTKDOCIZE || exit $?
fi
-$GIT submodule init
-$GIT submodule update
$AUTORECONF --install --force --symlink || exit $?
echo

1
debian/patches/series vendored Normal file
View File

@ -0,0 +1 @@
0001-remove-git-submodules.patch