Makefile.am 1.5 KB
Newer Older
1 2
NULL =

3 4 5
doc_DATA = \
	bugreport-howto.txt \
	fortunes.txt \
6
	intf-cdda.txt \
7
	intf-vcd.txt \
8 9
	$(NULL)

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

Christophe Mutricy's avatar
Christophe Mutricy committed
24 25 26 27 28
man1_MANS = \
	   vlc.1 \
	   vlc-wrapper.1 \
	   vlc-config.1

29 30
EXTRA_DIST = \
	$(CHANGELOGS) \
31
        $(man1_MANS) \
Christophe Mutricy's avatar
Christophe Mutricy committed
32
        bugreport-howto.txt \
33
	fortunes.txt \
34
	intf-cdda.txt \
35
	intf-vcd.txt \
36
	release-howto.txt \
37
	arm-crosscompile-howto.sgml \
38
	Doxyfile.in \
39
	Configure.help \
Alexis de Lattre's avatar
Alexis de Lattre committed
40
	lirc/example.lircrc \
41 42
	skins/skins-howto.txt \
	skins/events-howto.txt \
43 44 45 46 47
	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 \
48 49
	strings.txt \
	translations.txt \
50
	win32/Cross-Compile-Howto.txt \
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
51
	demo.sh \
52
	$(NULL)
53

54 55 56 57 58 59 60
DISTCLEANFILES = $(CHANGELOGS) Doxyfile

Doxyfile: Doxyfile.in $(top_builddir)/config.status
	cd $(top_builddir) && $(SHELL) ./config.status --file=$(subdir)/$@

doc: Doxyfile
	doxygen
61

62
$(CHANGELOGS): Makefile.am
63
	if test -d "$(top_srcdir)/.git"; then \
64
		y="$@"; y="$${y##ChangeLog-}" ; \
65 66 67 68 69
		git --git-dir="$(top_srcdir)/.git" log \
			--since="$$y-01-01" \
			--until="$$y-12-31 23:00:00 -0100" \
			> "$@" ; \
	fi
70

71
# This one needs to be rebuilt all the time :)
72
.PHONY: ChangeLog-2009 changelogs doc
73 74 75

changelogs: $(CHANGELOGS)

76 77
#distclean-hook:
#	test "$(srcdir)" = "$(builddir)" || rm -f -- $(CHANGELOGS)