build-sys: earlier patch broke the build

The commit 47cc1b6ccf 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 <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2012-06-24 12:51:18 +02:00
parent 47cc1b6ccf
commit cba9bdbc16

View File

@ -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