File: Makefile.am

package info (click to toggle)
cclive 0.7.16-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,220 kB
  • ctags: 494
  • sloc: sh: 11,339; cpp: 2,549; makefile: 120
file content (25 lines) | stat: -rw-r--r-- 536 bytes parent folder | download | duplicates (4)
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
ACLOCAL_AMFLAGS=-I m4
EXTRA_DIST=	gen-ver.sh VERSION

SUBDIRS=	src
if WITH_MANUAL
SUBDIRS+=	doc
endif

.PHONY: ChangeLog VERSION doc

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

doc:
	@make -C $(top_builddir)/doc/man1/ doc

dist-hook: ChangeLog VERSION