Makefile.am 1.72 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 \
36 37
	$(NULL)

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

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

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

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

doc: Doxyfile
	doxygen
72

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

82
# This one needs to be rebuilt all the time :)
Pierre Ynard's avatar
Pierre Ynard committed
83
.PHONY: ChangeLog-2011 changelogs doc
84 85 86

changelogs: $(CHANGELOGS)

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