1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
# Makefile.am - master Makefile for ndisc6
# $Id: Makefile.am 639 2010-01-24 08:27:53Z remi $
# Copyright © 2006 Rémi Denis-Courmont
# This file is distributed under the same license as the ndisc6 package.
ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = \
1.11 \
check-news \
dist-bzip2 \
no-dist-gzip \
no-exeext \
std-options \
-Wall
SUBDIRS = po doc compat src rdnssd
DIST_SUBDIRS = m4 $(SUBDIRS)
noinst_HEADERS = include/gettext.h
DISTCLEANFILES = stamp-svn
distcheck-hook:
cd doc && $(MAKE) $(AM_MAKEFLAGS) distcheck-hook
distclean-local:
test "$(top_srcdir)" = "$(top_builddir)" || rm -f ChangeLog
dist-hook: stamp-svn
stamp-svn:
@rev=$$(LANG=C svnversion "$(srcdir)" 2>/dev/null || echo exported) ; \
oldrev=$$(cat stamp-svn 2>/dev/null || true) ; \
if test "$$rev" != "$$oldrev"; then \
echo "New SVN revision is $$rev." ; \
if test "$$rev" != "exported"; then \
echo -n "Rebuilding ChangeLog... " ; \
LANG=C svn -v --non-interactive log "$(srcdir)" > ChangeLog || exit $$? ; \
echo "OK" ; \
fi ; \
echo "$$rev" > $@ ; \
fi
ChangeLog:
$(MAKE) $(AM_MAKEFLAGS) stamp-svn
touch $@
.PHONY: stamp-svn
|