Makefile.maint: use $(srcdir), not $(top_srcdir)

This commit is contained in:
Jim Meyering 2008-12-18 06:45:05 +00:00
parent ded70984f3
commit 6d4eb1985c
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
Thu Dec 18 07:44:07 +0100 2008 Jim Meyering <meyering@redhat.com>
Makefile.maint: use $(srcdir), not $(top_srcdir)
Wed Dec 17 21:49:39 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
* src/remote_internal.c: Fix unreachable return statement

View File

@ -8,10 +8,10 @@ gzip_rsyncable := \
$(shell gzip --help 2>/dev/null|grep rsyncable >/dev/null && echo --rsyncable)
GZIP_ENV = '--no-name --best $(gzip_rsyncable)'
VC_LIST = $(top_srcdir)/build-aux/vc-list-files
VC_LIST = $(srcdir)/build-aux/vc-list-files
VC_LIST_EXCEPT = \
$(VC_LIST) -C $(top_srcdir) | if test -f .x-$@; then grep -vEf .x-$@; else grep -v ChangeLog; fi
$(VC_LIST) | if test -f .x-$@; then grep -vEf .x-$@; else grep -v ChangeLog; fi
# Prevent programs like 'sort' from considering distinct strings to be equal.
# Doing it here saves us from having to set LC_ALL elsewhere in this file.
@ -493,7 +493,7 @@ changelog-check:
fi
m4-check:
@grep -n 'AC_DEFUN([^[]' $(top_srcdir)/m4/*.m4 \
@grep -n 'AC_DEFUN([^[]' $(srcdir)/m4/*.m4 \
&& { echo 'Makefile.maint: quote the first arg to AC_DEFUN' 1>&2; \
exit 1; } || :