File: Makefile.am

package info (click to toggle)
cclive 0.7.9-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,100 kB
  • sloc: sh: 11,082; cpp: 2,614; makefile: 95
file content (22 lines) | stat: -rw-r--r-- 486 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
ACLOCAL_AMFLAGS=-I m4
EXTRA_DIST=	gen-ver.sh VERSION

SUBDIRS=	src
if WITH_MANUAL
SUBDIRS+=	doc
endif

.PHONY: ChangeLog VERSION

VERSION:
	@if test -d "$(top_srcdir)/.git" -o -f "$(top_srcdir)/.git"; then \
		"$(top_srcdir)/gen-ver.sh" "$(top_srcdir)" > $@; \
	fi

ChangeLog:
	@if test -d "$(top_srcdir)/.git" -o -f "$(top_srcdir)/.git"; then \
		git log --stat --name-only --date=short --abbrev-commit \
			--after="Thu Aug 12 15:54:58 2010" > $@; \
	fi

dist-hook: ChangeLog VERSION