Makefile.am 904 Bytes
Newer Older
1
ACLOCAL_AMFLAGS = -I build-aux -I m4
2

3
SUBDIRS = build-aux lib src doc tests distrib
4 5

EXTRA_DIST =					\
Benoit Perrot's avatar
Benoit Perrot committed
6
	bootstrap				\
7
	gnulib.modules				\
Benoit Perrot's avatar
Benoit Perrot committed
8
	dev/nolimips.xml			\
9
	dev/nolimips.py
10 11 12

install-doc-remote:
	cd doc && $(MAKE) $(AM_MAKEFLAGS) $@
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33

## ------------------------ ##
## ChangeLog regeneration.  ##
## ------------------------ ##

.PHONY: update-ChangeLog
update-ChangeLog:
	$(AM_V_GEN)if test -d $(srcdir)/.git; then		\
	   $(srcdir)/build-aux/gitlog-to-changelog		\
	      --format='%s%n%n%b%n' --no-cluster		\
	      --strip-tab --strip-cherry-pick			\
	      -- $$(cat $(srcdir)/.last-cl-gen)..		\
	    >ChangeLog.tmp					\
	  && git rev-list -n 1 HEAD >.last-cl-gen.tmp		\
	  && (echo; cat $(srcdir)/ChangeLog) >>ChangeLog.tmp	\
	  && mv -f ChangeLog.tmp $(srcdir)/ChangeLog		\
	  && mv -f .last-cl-gen.tmp $(srcdir)/.last-cl-gen	\
	  && rm -f ChangeLog.tmp;				\
	fi

EXTRA_DIST += .last-cl-gen