mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -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)( \
|
||||
echo "*.o" ; \
|
||||
echo ".gitignore" ; \
|
||||
) > .gitignore ; \
|
||||
) > $(srcdir)/.gitignore ; \
|
||||
for p in $(noinst_PROGRAMS); do \
|
||||
echo "/$$p" >> .gitignore ; \
|
||||
echo "/$$p" >> $(srcdir)/.gitignore ; \
|
||||
done
|
||||
|
||||
gitignore: $(srcdir)/.gitignore
|
||||
|
||||
.PHONY: gitignore
|
||||
gitignore-clean:
|
||||
$(QUIET_RM)rm -f $(srcdir)/.gitignore
|
||||
|
||||
DISTCLEANFILES += $(srcdir)/.gitignore
|
||||
.PHONY: gitignore gitignore-clean
|
||||
|
||||
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
|
||||
events_mouse_scroll_SOURCES = events-mouse-scroll.c
|
||||
|
||||
DISTCLEANFILES =
|
||||
|
||||
-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
|
||||
DISTCLEANFILES = test-launcher.sh
|
||||
|
||||
MAINTAINERCLEANFILES = .gitignore
|
||||
|
||||
# we override the clean-generic target to clean up the wrappers so
|
||||
# we cannot use CLEANFILES
|
||||
clean-generic: clean-wrappers
|
||||
|
@ -119,6 +119,8 @@ test_interactive_LDADD = $(CLUTTER_LIBS) $(common_ldadd)
|
||||
EXTRA_DIST = wrapper.sh.in
|
||||
DISTCLEANFILES = wrapper.sh
|
||||
|
||||
MAINTAINERCLEANFILES = .gitignore
|
||||
|
||||
BUILT_SOURCES = wrappers
|
||||
|
||||
clean-local: clean-wrappers
|
||||
|
@ -1,7 +1,5 @@
|
||||
include $(top_srcdir)/build/autotools/Makefile.am.silent
|
||||
|
||||
DISTCLEANFILES =
|
||||
|
||||
noinst_PROGRAMS = \
|
||||
test-text \
|
||||
test-picking \
|
||||
|
Loading…
Reference in New Issue
Block a user