Commit 4b70f5b2 authored by Sébastien Wilmet's avatar Sébastien Wilmet
Browse files

build: clean generated C files during `make clean`

Best practice is to use CLEANFILES to clean stuff built by make, and
DISTCLEANFILES only for stuff built by configure. Everyone has to run
make and it's very unexpected for 'make clean' to not clean things it
builds.
parent d16c3c82
......@@ -88,10 +88,6 @@ latexila_LDADD = \
gedit/libgedit.la \
liblatexila/liblatexila.la
MAINTAINERCLEANFILES = \
$(vala_files:.vala=.c) \
latexila_vala.stamp
# GResource
latexila-resources.c: latexila.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/latexila.gresource.xml)
......@@ -102,6 +98,9 @@ nodist_latexila_SOURCES = $(BUILT_SOURCES)
EXTRA_DIST = latexila.gresource.xml
CLEANFILES = $(BUILT_SOURCES)
CLEANFILES = \
$(BUILT_SOURCES) \
$(vala_files:.vala=.c) \
latexila_vala.stamp
-include $(top_srcdir)/git.mk
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment