Fix $Id$ vcs keywords.

- Add a new svn-keywords target to fix missing properties;
  - Add a new svn-keywords-check target to locate files lacking $Id$ statement.
This commit is contained in:
Romain Tartiere 2010-07-29 06:25:57 +00:00
parent 61a5ff4e4a
commit cc50ebc4df
3 changed files with 15 additions and 0 deletions

View file

@ -1,3 +1,4 @@
# $Id$
ACLOCAL_AMFLAGS = -I m4 ACLOCAL_AMFLAGS = -I m4
@ -25,3 +26,14 @@ clean-local: clean-local-coverage
.PHONY: clean-local-coverage .PHONY: clean-local-coverage
clean-local-coverage: clean-local-coverage:
-rm -rf coverage -rm -rf coverage
SVN_KEYWORDS_FILES_LIST_CMD = find $(top_srcdir) -name '*.[hc]' -a ! -name config.h \
-o -name Makefile.am
svn-keywords:
@echo Update files svn:keywords...
@$(SVN_KEYWORDS_FILES_LIST_CMD) | xargs svn propset -q svn:keywords Id
$(MAKE) svn-keywords-check
svn-keywords-check:
@echo Files missing a '$$Id$$' vcs keyword:
@$(SVN_KEYWORDS_FILES_LIST_CMD) | xargs grep -L '\$$Id[^$$]*\$$'

View file

@ -1,3 +1,5 @@
# $Id$
AM_CFLAGS = -I. -I$(top_srcdir)/libfreefare @LIBNFC_CFLAGS@ AM_CFLAGS = -I. -I$(top_srcdir)/libfreefare @LIBNFC_CFLAGS@
AM_LDFLAGS = @LIBNFC_LIBS@ AM_LDFLAGS = @LIBNFC_LIBS@

View file

@ -1,3 +1,4 @@
# $Id$
AM_CFLAGS = @LIBNFC_CFLAGS@ AM_CFLAGS = @LIBNFC_CFLAGS@
AM_LDFLAGS = @LIBNFC_LIBS@ AM_LDFLAGS = @LIBNFC_LIBS@