commit 1c09b51b7f69bcd09b29a510d441d5a5939536e7 from: Thomas Adam date: Wed Jun 26 12:59:50 2024 UTC Makefile: add dist-hook target to clean libgrapheme Make sure we clean out any unwanted files in libgrapheme/ when creeating a release tarball, as we don't want such files present. commit - 4575b59cd4c4d3de74252e38167171c2cd3cdc6e commit + 1c09b51b7f69bcd09b29a510d441d5a5939536e7 blob - 180574f7e031b9462719656c6af39438440b388c blob + 417b26379ed7ba79a2e7fa7fa6423e367091cd76 --- Makefile.am +++ Makefile.am @@ -163,6 +163,12 @@ pages.c: pagebundler $(srcdir)/pages.h ${PAGES} PUBKEY = missing PRIVKEY = missing +# Ensure that, before we release, that the files in libgrapheme don't include +# any compiled files, etc. We don't want these as part of a release tarball. +dist-hook: + ${MAKE} -C $(top_srcdir)/libgrapheme clean + rm $(distdir)/libgrapheme/libgrapheme.a + release: dist sha256 ${distdir}.tar.gz > ${distdir}.tar.gz.sha256 signify -S -e -m ${distdir}.tar.gz.sha256 -s ${PRIVKEY}