2010-07-29 08:25:57 +02:00
|
|
|
# $Id$
|
2010-01-08 21:58:29 +01:00
|
|
|
|
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
|
2010-07-29 08:11:27 +02:00
|
|
|
SUBDIRS = contrib libfreefare test examples
|
2010-01-08 12:51:40 +01:00
|
|
|
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
pkgconfig_DATA = libfreefare.pc
|
2010-01-11 21:14:30 +01:00
|
|
|
|
2010-04-07 17:36:24 +02:00
|
|
|
dist-hook:
|
|
|
|
@if test -d "$(srcdir)/.svn"; then \
|
|
|
|
echo "Creating ChangeLog..." && \
|
|
|
|
( cd "$(top_srcdir)" && \
|
|
|
|
echo '# Generated by Makefile. Do not edit.'; echo; \
|
|
|
|
$(top_srcdir)/missing --run svn2cl --authors=AUTHORS --strip-prefix=/trunk/libfreefare --stdout ) > ChangeLog.tmp \
|
|
|
|
&& mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
|
|
|
|
|| ( rm -f ChangeLog.tmp ; \
|
|
|
|
echo "Failed to generate ChangeLog" >&2 ); \
|
|
|
|
else \
|
|
|
|
echo "A svn checkout is required to generate a ChangeLog" >&2; \
|
|
|
|
fi
|
2010-01-11 21:14:30 +01:00
|
|
|
|
2010-04-08 15:02:54 +02:00
|
|
|
EXTRA_DIST = HACKING
|
2010-07-26 23:48:18 +02:00
|
|
|
CLEANFILES = coverage.info
|
|
|
|
clean-local: clean-local-coverage
|
|
|
|
.PHONY: clean-local-coverage
|
|
|
|
clean-local-coverage:
|
|
|
|
-rm -rf coverage
|
2010-07-29 08:25:57 +02:00
|
|
|
|
|
|
|
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:
|
2010-10-08 13:45:57 +02:00
|
|
|
@echo "Files missing a '$$"Id"$$' vcs keyword:"
|
2010-07-29 08:25:57 +02:00
|
|
|
@$(SVN_KEYWORDS_FILES_LIST_CMD) | xargs grep -L '\$$Id[^$$]*\$$'
|