Makefile.am 1.75 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 16
nobase_doc_DATA = $(LIBVLC_SAMPLES)

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

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

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

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

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

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

doc: Doxyfile
	doxygen
74

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

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

changelogs: $(CHANGELOGS)

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