Makefile.am 1.76 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
doc_DATA = \
	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 \
Rafaël Carré's avatar
Rafaël Carré committed
37
	ChangeLog-2013 \
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
38
	ChangeLog-2014 \
Jean-Baptiste Kempf's avatar
2015  
Jean-Baptiste Kempf committed
39
	ChangeLog-2015 \
40 41
	$(NULL)

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

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

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

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

doc: Doxyfile
	doxygen
75

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

85
# This one needs to be rebuilt all the time :)
Jean-Baptiste Kempf's avatar
2015  
Jean-Baptiste Kempf committed
86
.PHONY: ChangeLog-2015 changelogs doc
87 88 89

changelogs: $(CHANGELOGS)

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