Makefile.am 1.43 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-vcd.txt \
35
	release-howto.txt \
36
	Doxyfile.in \
Alexis de Lattre's avatar
Alexis de Lattre committed
37
	lirc/example.lircrc \
38 39
	skins/skins-howto.txt \
	skins/events-howto.txt \
40 41 42 43 44
	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 \
45 46
	strings.txt \
	translations.txt \
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
47
	demo.sh \
48
	$(NULL)
49

50 51
DISTCLEANFILES = Doxyfile
MAINTAINERCLEANFILES = $(CHANGELOGS)
52 53 54 55 56 57

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

doc: Doxyfile
	doxygen
58

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

68
# This one needs to be rebuilt all the time :)
69
.PHONY: ChangeLog-2009 changelogs doc
70 71 72

changelogs: $(CHANGELOGS)

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