]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
build: Fix update-authors rule to work out-of-tree
authorSimon McVittie <smcv@collabora.com>
Wed, 23 Feb 2022 19:42:46 +0000 (19:42 +0000)
committerSimon McVittie <smcv@collabora.com>
Wed, 23 Feb 2022 19:42:46 +0000 (19:42 +0000)
Signed-off-by: Simon McVittie <smcv@collabora.com>
Makefile.am

index 54baa326f295d413a350d5cf6a1db0201b1c76d7..db2a6e7c8dd21bfcccef49cc27682342f5591cb1 100644 (file)
@@ -33,7 +33,7 @@ EXTRA_DIST =                  \
 all-local: Doxyfile
 
 update-authors:
-       git shortlog -s -e | cut -c 8- | sort > AUTHORS
+       ( cd $(srcdir) && git shortlog -s -e ) | cut -c 8- | sort > $(srcdir)/AUTHORS
 
 DISTCHECK_CONFIGURE_FLAGS = \
        --enable-xml-docs \