diff options
author | Alexandre Pion <pion@afnic.fr> | 2022-11-03 13:31:00 +0100 |
---|---|---|
committer | Alexandre Pion <pion@afnic.fr> | 2022-11-03 13:31:00 +0100 |
commit | 1fd032c2c914bb9c6c964fef1eec8e6998032a4b (patch) | |
tree | a0713ff8373a5ae1a0ca67415411c888d092f84b | |
parent | b5930f6dfb20947a2ba06ffcb8115cad74c2831e (diff) | |
parent | 0ff8d4239f920e6195b8810096f0b530b8f32e06 (diff) |
Merge pull request #158 from pnax/make-update-ldns
Automatically reconfigure internal libldns on "ldns/Changelog" updates
-rw-r--r-- | MANIFEST | 1 | ||||
-rw-r--r-- | MANIFEST.SKIP | 1 | ||||
-rw-r--r-- | Makefile.PL | 8 |
3 files changed, 6 insertions, 4 deletions
@@ -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 |