[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 360b2bf: Fix 'make clean' in lib subdirectory
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] master 360b2bf: Fix 'make clean' in lib subdirectory |
Date: |
Thu, 6 Apr 2017 16:43:12 -0400 (EDT) |
branch: master
commit 360b2bf2f6011f2e46267c0bf11b1e86655e7900
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
Fix 'make clean' in lib subdirectory
* lib/Makefile.in (clean): Remove *-t files.
(mostlyclean): Remove MOSTLYCLEANFILES that are not *-t files.
This removes files like lib/getopt.h that should be removed
even if this configuration did not need to build them.
(maintainer-clean): Remove TAGS here, not in distclean,
to be consistent with ../src/Makefile.in.
---
lib/Makefile.in | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/lib/Makefile.in b/lib/Makefile.in
index 832704f..ee41ea3 100644
--- a/lib/Makefile.in
+++ b/lib/Makefile.in
@@ -111,15 +111,15 @@ TAGS: $(ETAGS) $(tagsfiles)
$(ETAGS) $(tagsfiles)
.PHONY: $(ETAGS) tags
-clean mostlyclean:
- rm -f *.[ao] \#* $(DEPDIR)/*
-distclean: clean
- rm -f Makefile $(BUILT_SOURCES)
+clean:
+ rm -f *.[ao] *-t \#* $(DEPDIR)/*
+mostlyclean: clean
+ rm -f $(filter-out %-t,$(MOSTLYCLEANFILES))
+distclean bootstrap-clean: mostlyclean
+ rm -f Makefile
rm -fr $(DEPDIR)
-bootstrap-clean: distclean
- rm -f TAGS
-maintainer-clean: bootstrap-clean
- rm -f gnulib.mk
+maintainer-clean: distclean
+ rm -f TAGS gnulib.mk
.PHONY: mostlyclean clean distclean bootstrap-clean maintainer-clean
# Tell versions [3.59,3.63) of GNU make to not export all variables.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 360b2bf: Fix 'make clean' in lib subdirectory,
Paul Eggert <=