Makefile.am 1.43 KB
Newer Older
1 2
NULL =

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

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

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

30 31
EXTRA_DIST = \
	$(CHANGELOGS) \
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
32 33
	$(man1_MANS) \
	bugreport-howto.txt \
34
	fortunes.txt \
35
	intf-vcd.txt \
36
	release-howto.txt \
37
	Doxyfile.in \
Alexis de Lattre's avatar
Alexis de Lattre committed
38
	lirc/example.lircrc \
39 40
	skins/skins-howto.txt \
	skins/events-howto.txt \
41 42 43 44 45
	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 \
46 47
	strings.txt \
	translations.txt \
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
48
	demo.sh \
49
	$(NULL)
50

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

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

doc: Doxyfile
	doxygen
59

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

69
# This one needs to be rebuilt all the time :)
Pierre Ynard's avatar
Pierre Ynard committed
70
.PHONY: ChangeLog-2011 changelogs doc
71 72 73

changelogs: $(CHANGELOGS)

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