]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Skip a few files and dirs in the meson dist tarball
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 24 Jan 2025 08:27:51 +0000 (09:27 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 27 Jan 2025 09:27:19 +0000 (10:27 +0100)
pdns/recursordist/.gitattributes [new file with mode: 0644]
pdns/recursordist/meson-dist-script.sh

diff --git a/pdns/recursordist/.gitattributes b/pdns/recursordist/.gitattributes
new file mode 100644 (file)
index 0000000..3f006fb
--- /dev/null
@@ -0,0 +1,7 @@
+Caddyfile export-ignore
+/README.md export-ignore
+docs export-ignore
+examples export-ignore
+make-ext-symlinks.py export-ignore
+recursor-lsan.supp export-ignore
+recursor-tsan.supp export-ignore
index 4ce83e3442a2fad55c718e9332a409a861e7125b..a8699d94dd02e0f2195391475838a6fa987c3b92 100755 (executable)
@@ -24,9 +24,14 @@ cd "$MESON_PROJECT_BUILD_ROOT"
 ninja man-pages
 cp -vp rec-man-pages/*.1 "$MESON_PROJECT_DIST_ROOT"
 
+rm -rf "$MESON_PROJECT_DIST_ROOT"/autom4te.cache
+
+
 # Generate  a few files to reduce build dependencies
-ninja  librec-dnslabeltext.a.p/dnslabeltext.cc
+echo 'If the below command generates an error, remove dnslabeltext.cc from source dir (remains of an autotools build?) and start again with a clean meson setup'
+ninja librec-dnslabeltext.a.p/dnslabeltext.cc
 cp -vp librec-dnslabeltext.a.p/dnslabeltext.cc "$MESON_PROJECT_DIST_ROOT"
-ninja  effective_tld_names.dat
+echo 'If the below command generates an error, remove effective_tld_names.dat and pubsuffix.cc from source dir (remains of an autotools build?) and start again with a clean meson setup'
+ninja effective_tld_names.dat
 cp -vp effective_tld_names.dat "$MESON_PROJECT_DIST_ROOT"