Makefile.am 1.25 KB
Newer Older
1 2
NULL =

3 4 5 6 7
docdir = $(datadir)/doc/@PACKAGE@

doc_DATA = \
	bugreport-howto.txt \
	fortunes.txt \
8
	intf-cdda.txt \
9
	intf-vcd.txt \
10 11
	$(NULL)

12
CHANGELOGS = \
Sam Hocevar's avatar
Sam Hocevar committed
13 14 15 16
	ChangeLog-1999 \
	ChangeLog-2000 \
	ChangeLog-2001 \
	ChangeLog-2002 \
17
	ChangeLog-2003 \
18
	ChangeLog-2004 \
19
	ChangeLog-2005 \
20 21
	ChangeLog-2006 \
	ChangeLog-2007 \
22
	ChangeLog-2008 \
23 24 25 26
	$(NULL)

EXTRA_DIST = \
	$(CHANGELOGS) \
27 28 29 30
	vlc.1 \
	vlc-config.1 \
	bugreport-howto.txt \
	fortunes.txt \
31
	intf-cdda.txt \
32
	intf-vcd.txt \
33
	release-howto.txt \
34 35
	arm-crosscompile-howto.sgml \
	Configure.help \
Alexis de Lattre's avatar
Alexis de Lattre committed
36
	lirc/example.lircrc \
37 38
	skins/skins-howto.txt \
	skins/events-howto.txt \
39 40 41 42 43
	skins/curve_maker/Bezier.bas \
	skins/curve_maker/Bezier.frm \
	skins/curve_maker/Bezier.frx \
	skins/curve_maker/bezier.vbp \
	skins/curve_maker/Bezier.vbw \
44 45
	strings.txt \
	translations.txt \
46
	win32/Cross-Compile-Howto.txt \
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
47
	demo.sh \
48
	$(NULL)
49

50 51
DISTCLEANFILES = $(CHANGELOGS)

52
$(CHANGELOGS): Makefile.am
53
	if test -d "$(top_srcdir)/.git"; then \
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
54
		y="$@"; y="$${y##ChangeLog-}" ;
55 56 57 58 59
		git --git-dir="$(top_srcdir)/.git" log \
			--since="$$y-01-01" \
			--until="$$y-12-31 23:00:00 -0100" \
			> "$@" ; \
	fi
60

61 62
# This one needs to be rebuilt all the time :)
.PHONY: ChangeLog-2008
63 64 65
#
#distclean-hook:
#	test "$(srcdir)" = "$(builddir)" || rm -f -- $(CHANGELOGS)