summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Pion <pion@afnic.fr>2022-11-03 13:31:00 +0100
committerAlexandre Pion <pion@afnic.fr>2022-11-03 13:31:00 +0100
commit1fd032c2c914bb9c6c964fef1eec8e6998032a4b (patch)
treea0713ff8373a5ae1a0ca67415411c888d092f84b
parentb5930f6dfb20947a2ba06ffcb8115cad74c2831e (diff)
parent0ff8d4239f920e6195b8810096f0b530b8f32e06 (diff)
Merge pull request #158 from pnax/make-update-ldns
Automatically reconfigure internal libldns on "ldns/Changelog" updates
-rw-r--r--MANIFEST1
-rw-r--r--MANIFEST.SKIP1
-rw-r--r--Makefile.PL8
3 files changed, 6 insertions, 4 deletions
diff --git a/MANIFEST b/MANIFEST
index 3d27a82..3173041 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -14,6 +14,7 @@ include/LDNS.h
ldns/.github/FUNDING.yml
ldns/.github/workflows/testsuite.yml
ldns/buffer.c
+ldns/Changelog
ldns/compat/b64_ntop.c
ldns/compat/b64_pton.c
ldns/compat/strlcpy.c
diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP
index f70a36d..e32c894 100644
--- a/MANIFEST.SKIP
+++ b/MANIFEST.SKIP
@@ -16,7 +16,6 @@
\.ac$
# Avoid ldns files we don't need
-^ldns/Changelog$
^ldns/README$
^ldns/README\.
^ldns/\.libs/
diff --git a/Makefile.PL b/Makefile.PL
index 1a066bd..f64f094 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -372,12 +372,14 @@ ldns/.libs/libldns.a: ldns/configure
./configure CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" $(CONFIGURE_FLAGS) ;\
make lib
-ldns/configure:
+ldns/configure: ldns/Changelog
+ cd ldns ; libtoolize -ci
+ cd ldns ; autoreconf -fi
+
+ldns/Changelog:
git submodule init
git submodule sync
git submodule update
- cd ldns ; libtoolize -ci
- cd ldns ; autoreconf -fi
END_INTERNAL_LDNS