]> git.sesse.net Git - vlc/blob - doc/Makefile.am
qt4: fix COM leak and handle errors
[vlc] / doc / Makefile.am
1 NULL =
2
3 LIBVLC_SAMPLES = \
4         libvlc/gtk_player.c \
5         libvlc/libvlc_DVD_ripper.c \
6         libvlc/QtPlayer/LICENSE \
7         libvlc/QtPlayer/main.cpp \
8         libvlc/QtPlayer/player.cpp \
9         libvlc/QtPlayer/player.h \
10         libvlc/QtPlayer/QtVLC.pro \
11         libvlc/vlc-thumb.c \
12         libvlc/wx_player.cpp \
13         $(NULL)
14
15 nobase_doc_DATA = $(LIBVLC_SAMPLES)
16
17 doc_DATA = \
18         fortunes.txt \
19         intf-vcd.txt \
20         $(NULL)
21
22 CHANGELOGS = \
23         ChangeLog-1999 \
24         ChangeLog-2000 \
25         ChangeLog-2001 \
26         ChangeLog-2002 \
27         ChangeLog-2003 \
28         ChangeLog-2004 \
29         ChangeLog-2005 \
30         ChangeLog-2006 \
31         ChangeLog-2007 \
32         ChangeLog-2008 \
33         ChangeLog-2009 \
34         ChangeLog-2010 \
35         ChangeLog-2011 \
36         ChangeLog-2012 \
37         ChangeLog-2013 \
38         ChangeLog-2014 \
39         ChangeLog-2015 \
40         $(NULL)
41
42 man1_MANS = \
43            vlc.1 \
44            vlc-wrapper.1
45
46 EXTRA_DIST = \
47         $(CHANGELOGS) \
48         $(man1_MANS) \
49         $(LIBVLC_SAMPLES) \
50         fortunes.txt \
51         intf-vcd.txt \
52         release-howto.txt \
53         Doxyfile.in \
54         lirc/example.lircrc \
55         skins/skins-howto.txt \
56         skins/events-howto.txt \
57         skins/curve_maker/Bezier.bas \
58         skins/curve_maker/Bezier.frm \
59         skins/curve_maker/Bezier.frx \
60         skins/curve_maker/bezier.vbp \
61         skins/curve_maker/Bezier.vbw \
62         strings.txt \
63         translations.txt \
64         demo.sh \
65         $(NULL)
66
67 DISTCLEANFILES = Doxyfile
68 MAINTAINERCLEANFILES = $(CHANGELOGS)
69
70 Doxyfile: Doxyfile.in $(top_builddir)/config.status
71         cd $(top_builddir) && $(SHELL) ./config.status --file=$(subdir)/$@
72
73 doc: Doxyfile
74         doxygen
75
76 $(CHANGELOGS): Makefile.am
77         if test -d "$(top_srcdir)/.git"; then \
78                 y="$@"; y="$${y##ChangeLog-}" ; \
79                 git --git-dir="$(top_srcdir)/.git" log \
80                         --since="$$y-01-01" \
81                         --until="$$y-12-31 23:00:00 -0100" \
82                         > "$@" ; \
83         fi
84
85 # This one needs to be rebuilt all the time :)
86 .PHONY: ChangeLog-2015 changelogs doc
87
88 changelogs: $(CHANGELOGS)
89
90 #distclean-hook:
91 #       test "$(srcdir)" = "$(builddir)" || rm -f -- $(CHANGELOGS)