commit 8f0d39751ffcf89f3dc934a6e012cd7706eb60e1 from: Thomas Adam date: Thu Jun 27 09:19:42 2024 UTC Makefile: dist-hook: use $(distdir) When running "make clean" in libgrapheme, do so in the $(distdir) target, and not the $(topsrc)/libgrapheme target, as by the time dist-hook runs, the files have already been prepared in $(distdir). commit - 55727a5b053f4123c5833d0e6bb4849aff18a6a3 commit + 8f0d39751ffcf89f3dc934a6e012cd7706eb60e1 blob - 417b26379ed7ba79a2e7fa7fa6423e367091cd76 blob + e23ce1c759123217f7125a68726476683658ac65 --- Makefile.am +++ Makefile.am @@ -166,8 +166,7 @@ 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 + ${MAKE} -C $(distdir)/libgrapheme clean release: dist sha256 ${distdir}.tar.gz > ${distdir}.tar.gz.sha256