Skip to content

Commit

Permalink
Skip a few files and dirs in the meson dist tarball
Browse files Browse the repository at this point in the history
  • Loading branch information
omoerbeek committed Jan 27, 2025
1 parent 28e0d7a commit 6f2c896
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
7 changes: 7 additions & 0 deletions pdns/recursordist/.gitattributes
Original file line number Diff line number Diff line change
@@ -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
9 changes: 7 additions & 2 deletions pdns/recursordist/meson-dist-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 6f2c896

Please sign in to comment.