From: Sami Kerola Date: Sun, 24 Jun 2012 10:51:18 +0000 (+0200) Subject: build-sys: earlier patch broke the build X-Git-Tag: v3.3.4~58 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cba9bdbc16a3cbd6754d08ce3f0780383415bd2d;p=procps-ng build-sys: earlier patch broke the build The commit 47cc1b6ccfd1e6e10aafbf21e932991a10c97f7e might have fixed an issue when distribution is built, but it broke make after running ./configure which this commit fixes. Reference: http://www.delorie.com/gnu/docs/automake/automake_66.html Signed-off-by: Sami Kerola --- diff --git a/Makefile.am b/Makefile.am index 5d373e26..39cc885c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -108,10 +108,9 @@ dist_procpsng_DATA = \ Documentation/BUGS \ Documentation/FAQ -@ if [ -f $(top_srcdir)/.version ]; then \ - BUILT_SOURCES = $(top_srcdir)/.version \ -fi +BUILT_SOURCES = $(top_srcdir)/.version $(top_srcdir)/.version: + touch $(top_srcdir)/.version echo $(VERSION) > $@-t && mv $@-t $@ dist-hook: echo $(VERSION) > $(distdir)/.tarball-version