File: Makefile.am

package info (click to toggle)
entangle 0.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 7,836 kB
  • ctags: 3,171
  • sloc: ansic: 18,933; sh: 11,305; makefile: 448; xml: 227; python: 221
file content (36 lines) | stat: -rw-r--r-- 996 bytes parent folder | download
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

SUBDIRS = src po docs

ACLOCAL_AMFLAGS = -I m4

EXTRA_DIST = \
	$(PACKAGE).spec \
	$(PACKAGE).spec.in \
	GNUmakefile \
	cfg.mk \
	AUTHORS.in \
	maint.mk \
	$(NULL)

MAINTAINERCLEANFILES = ChangeLog AUTHORS

DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc

dist-hook: gen-ChangeLog gen-AUTHORS

.PHONY: gen-ChangeLog gen-AUTHORS
gen-ChangeLog:
	if test -d .git; then                                   \
	  $(top_srcdir)/build-aux/gitlog-to-changelog           \
	    > $(distdir)/cl-t;                                  \
	  rm -f $(distdir)/ChangeLog;                           \
	  mv $(distdir)/cl-t $(distdir)/ChangeLog;              \
	fi

gen-AUTHORS:
	$(AM_V_GEN)if test -d $(srcdir)/.git; then                      \
	  out="`cd $(srcdir) && git log --pretty=format:'%aN <%aE>' | sort -u`" && \
	  perl -p -e "s/#authorslist#// and print '$$out'"            \
	    < $(srcdir)/AUTHORS.in > $(distdir)/AUTHORS-tmp &&        \
	  mv -f $(distdir)/AUTHORS-tmp $(distdir)/AUTHORS ;           \
	fi