mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
build: Use maintainer-clean for the ignore files removal
Instead of distclean.
This commit is contained in:
parent
c4913bfce9
commit
3142b15a9f
@ -7,15 +7,18 @@ $(srcdir)/.gitignore: Makefile.am
|
|||||||
$(QUIET_GEN)( \
|
$(QUIET_GEN)( \
|
||||||
echo "*.o" ; \
|
echo "*.o" ; \
|
||||||
echo ".gitignore" ; \
|
echo ".gitignore" ; \
|
||||||
) > .gitignore ; \
|
) > $(srcdir)/.gitignore ; \
|
||||||
for p in $(noinst_PROGRAMS); do \
|
for p in $(noinst_PROGRAMS); do \
|
||||||
echo "/$$p" >> .gitignore ; \
|
echo "/$$p" >> $(srcdir)/.gitignore ; \
|
||||||
done
|
done
|
||||||
|
|
||||||
gitignore: $(srcdir)/.gitignore
|
gitignore: $(srcdir)/.gitignore
|
||||||
|
|
||||||
.PHONY: gitignore
|
gitignore-clean:
|
||||||
|
$(QUIET_RM)rm -f $(srcdir)/.gitignore
|
||||||
|
|
||||||
DISTCLEANFILES += $(srcdir)/.gitignore
|
.PHONY: gitignore gitignore-clean
|
||||||
|
|
||||||
all: gitignore
|
all: gitignore
|
||||||
|
|
||||||
|
maintainer-clean: gitignore-clean
|
||||||
|
@ -41,6 +41,4 @@ layouts_stacking_SOURCES = layouts-stacking.c
|
|||||||
layouts_stacking_diff_sized_actors_SOURCES = layouts-stacking-diff-sized-actors.c
|
layouts_stacking_diff_sized_actors_SOURCES = layouts-stacking-diff-sized-actors.c
|
||||||
events_mouse_scroll_SOURCES = events-mouse-scroll.c
|
events_mouse_scroll_SOURCES = events-mouse-scroll.c
|
||||||
|
|
||||||
DISTCLEANFILES =
|
|
||||||
|
|
||||||
-include $(top_srcdir)/build/autotools/Makefile.am.gitignore
|
-include $(top_srcdir)/build/autotools/Makefile.am.gitignore
|
||||||
|
@ -244,6 +244,8 @@ HTML_REPORTS = \
|
|||||||
EXTRA_DIST = ADDING_NEW_TESTS test-launcher.sh.in run-tests.sh
|
EXTRA_DIST = ADDING_NEW_TESTS test-launcher.sh.in run-tests.sh
|
||||||
DISTCLEANFILES = test-launcher.sh
|
DISTCLEANFILES = test-launcher.sh
|
||||||
|
|
||||||
|
MAINTAINERCLEANFILES = .gitignore
|
||||||
|
|
||||||
# we override the clean-generic target to clean up the wrappers so
|
# we override the clean-generic target to clean up the wrappers so
|
||||||
# we cannot use CLEANFILES
|
# we cannot use CLEANFILES
|
||||||
clean-generic: clean-wrappers
|
clean-generic: clean-wrappers
|
||||||
|
@ -119,6 +119,8 @@ test_interactive_LDADD = $(CLUTTER_LIBS) $(common_ldadd)
|
|||||||
EXTRA_DIST = wrapper.sh.in
|
EXTRA_DIST = wrapper.sh.in
|
||||||
DISTCLEANFILES = wrapper.sh
|
DISTCLEANFILES = wrapper.sh
|
||||||
|
|
||||||
|
MAINTAINERCLEANFILES = .gitignore
|
||||||
|
|
||||||
BUILT_SOURCES = wrappers
|
BUILT_SOURCES = wrappers
|
||||||
|
|
||||||
clean-local: clean-wrappers
|
clean-local: clean-wrappers
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
include $(top_srcdir)/build/autotools/Makefile.am.silent
|
include $(top_srcdir)/build/autotools/Makefile.am.silent
|
||||||
|
|
||||||
DISTCLEANFILES =
|
|
||||||
|
|
||||||
noinst_PROGRAMS = \
|
noinst_PROGRAMS = \
|
||||||
test-text \
|
test-text \
|
||||||
test-picking \
|
test-picking \
|
||||||
|
Loading…
Reference in New Issue
Block a user