As they need git to be generated, you don't want them to disappear when you do make distclean in sources extracted from the tarball
touch $@
CLEANFILES = $(BUILT_SOURCES_clean)
-DISTCLEANFILES = $(BUILT_SOURCES_distclean) vlc-config.in compile ChangeLog
+DISTCLEANFILES = $(BUILT_SOURCES_distclean) vlc-config.in compile
+MAINTAINERCLEANFILES = ChangeLog
# Shortcut for developpers to rebuild the core (libvlc + vlc)
# Don't use it if you don't know what it is about.
demo.sh \
$(NULL)
-DISTCLEANFILES = $(CHANGELOGS) Doxyfile
+DISTCLEANFILES = Doxyfile
+MAINTAINERCLEANFILES = $(CHANGELOGS)
Doxyfile: Doxyfile.in $(top_builddir)/config.status
cd $(top_builddir) && $(SHELL) ./config.status --file=$(subdir)/$@