From 6074777059f02d29c012b4bfe906477c1f38e0f3 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Fri, 22 Dec 2023 22:12:10 +0100 Subject: build: Fix `make dist` in VPATH builds. * Makefile.am (gen-ChangeLog): Look for .git in `$(top_srcdir)`. (gen-AUTHORS): Look for .git in `$(top_srcdir)`. * po/doc/local.mk (%D%/%.pot): Make sure destination directory exists. Change-Id: Ib6d78f08f8791d2f8e1758614d21c41f04a39b0a --- po/doc/local.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'po/doc') diff --git a/po/doc/local.mk b/po/doc/local.mk index 77ec4721e3..f902652f7f 100644 --- a/po/doc/local.mk +++ b/po/doc/local.mk @@ -45,6 +45,7 @@ POT_OPTIONS = \ --msgid-bugs-address "bug-guix@gnu.org" %D%/%.pot: $(srcdir)/doc/%.texi + $(MKDIR_P) %D% # directory might be absent in VPATH build $(AM_V_PO4A)$(PO4A_UPDATEPO) -M UTF-8 -f texinfo -m "$<" \ -p "$@-t" $(POT_OPTIONS) date="$$(git log --pretty=format:%ci -n 1 -- $< 2>/dev/null \ -- cgit v1.2.3