diff options
| author | Paul Eggert | 2017-04-06 13:41:30 -0700 |
|---|---|---|
| committer | Paul Eggert | 2017-04-06 13:43:06 -0700 |
| commit | 360b2bf2f6011f2e46267c0bf11b1e86655e7900 (patch) | |
| tree | e17a79ac5eeaa3b2875a5a7e616ecf479dff13f7 /lib/Makefile.in | |
| parent | 69061fd1341629d059a8846aa89eedeed42552d1 (diff) | |
| download | emacs-360b2bf2f6011f2e46267c0bf11b1e86655e7900.tar.gz emacs-360b2bf2f6011f2e46267c0bf11b1e86655e7900.zip | |
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.
Diffstat (limited to 'lib/Makefile.in')
| -rw-r--r-- | lib/Makefile.in | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/Makefile.in b/lib/Makefile.in index 832704f3a8d..ee41ea3e55e 100644 --- a/lib/Makefile.in +++ b/lib/Makefile.in | |||
| @@ -111,15 +111,15 @@ TAGS: $(ETAGS) $(tagsfiles) | |||
| 111 | $(ETAGS) $(tagsfiles) | 111 | $(ETAGS) $(tagsfiles) |
| 112 | .PHONY: $(ETAGS) tags | 112 | .PHONY: $(ETAGS) tags |
| 113 | 113 | ||
| 114 | clean mostlyclean: | 114 | clean: |
| 115 | rm -f *.[ao] \#* $(DEPDIR)/* | 115 | rm -f *.[ao] *-t \#* $(DEPDIR)/* |
| 116 | distclean: clean | 116 | mostlyclean: clean |
| 117 | rm -f Makefile $(BUILT_SOURCES) | 117 | rm -f $(filter-out %-t,$(MOSTLYCLEANFILES)) |
| 118 | distclean bootstrap-clean: mostlyclean | ||
| 119 | rm -f Makefile | ||
| 118 | rm -fr $(DEPDIR) | 120 | rm -fr $(DEPDIR) |
| 119 | bootstrap-clean: distclean | 121 | maintainer-clean: distclean |
| 120 | rm -f TAGS | 122 | rm -f TAGS gnulib.mk |
| 121 | maintainer-clean: bootstrap-clean | ||
| 122 | rm -f gnulib.mk | ||
| 123 | .PHONY: mostlyclean clean distclean bootstrap-clean maintainer-clean | 123 | .PHONY: mostlyclean clean distclean bootstrap-clean maintainer-clean |
| 124 | 124 | ||
| 125 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | 125 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |