Makefile.am 1.74 KB
Newer Older
1 2
NULL =

3 4 5 6 7 8 9 10 11 12 13 14
LIBVLC_SAMPLES = \
	libvlc/gtk_player.c \
	libvlc/libvlc_DVD_ripper.c \
	libvlc/QtPlayer/LICENSE \
	libvlc/QtPlayer/main.cpp \
	libvlc/QtPlayer/player.cpp \
	libvlc/QtPlayer/player.h \
	libvlc/QtPlayer/QtVLC.pro \
	libvlc/vlc-thumb.c \
	libvlc/wx_player.cpp \
	$(NULL)

15
doc_DATA = \
16
	$(LIBVLC_SAMPLES) \
17 18
	bugreport-howto.txt \
	fortunes.txt \
19
	intf-vcd.txt \
20 21
	$(NULL)

22
CHANGELOGS = \
Sam Hocevar's avatar
Sam Hocevar committed
23 24 25 26
	ChangeLog-1999 \
	ChangeLog-2000 \
	ChangeLog-2001 \
	ChangeLog-2002 \
27
	ChangeLog-2003 \
28
	ChangeLog-2004 \
29
	ChangeLog-2005 \
30 31
	ChangeLog-2006 \
	ChangeLog-2007 \
32
	ChangeLog-2008 \
33
	ChangeLog-2009 \
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
34
	ChangeLog-2010 \
35
	ChangeLog-2011 \
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
36
	ChangeLog-2012 \
37 38
	$(NULL)

Christophe Mutricy's avatar
Christophe Mutricy committed
39 40
man1_MANS = \
	   vlc.1 \
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
41
	   vlc-wrapper.1
Christophe Mutricy's avatar
Christophe Mutricy committed
42

43 44
EXTRA_DIST = \
	$(CHANGELOGS) \
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
45
	$(man1_MANS) \
46
	$(LIBVLC_SAMPLES) \
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
47
	bugreport-howto.txt \
48
	fortunes.txt \
49
	intf-vcd.txt \
50
	release-howto.txt \
51
	Doxyfile.in \
Alexis de Lattre's avatar
Alexis de Lattre committed
52
	lirc/example.lircrc \
53 54
	skins/skins-howto.txt \
	skins/events-howto.txt \
55 56 57 58 59
	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 \
60 61
	strings.txt \
	translations.txt \
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
62
	demo.sh \
63
	$(NULL)
64

65 66
DISTCLEANFILES = Doxyfile
MAINTAINERCLEANFILES = $(CHANGELOGS)
67 68 69 70 71 72

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

doc: Doxyfile
	doxygen
73

74
$(CHANGELOGS): Makefile.am
75
	if test -d "$(top_srcdir)/.git"; then \
76
		y="$@"; y="$${y##ChangeLog-}" ; \
77 78 79 80 81
		git --git-dir="$(top_srcdir)/.git" log \
			--since="$$y-01-01" \
			--until="$$y-12-31 23:00:00 -0100" \
			> "$@" ; \
	fi
82

83
# This one needs to be rebuilt all the time :)
84
.PHONY: ChangeLog-2012 changelogs doc
85 86 87

changelogs: $(CHANGELOGS)

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