Commit Diff


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}