[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master fd91b93 3/6: Reorder 'clean' targets
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master fd91b93 3/6: Reorder 'clean' targets |
Date: |
Wed, 24 Apr 2019 16:47:17 -0400 (EDT) |
branch: master
commit fd91b93df3eea6a1a5b02eb6beda345b81a5e8bc
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Reorder 'clean' targets
Brought the 'clean' and 'clobber' recipes closer. They may look quite
different now, but soon they'll differ less.
---
GNUmakefile | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/GNUmakefile b/GNUmakefile
index ac073d6..4efb4ae 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -313,7 +313,7 @@ endef
################################################################################
-# Clean.
+# Clean and its kindred.
# This makefile has rules to build a few files in the source
# directory, viz.
@@ -331,13 +331,15 @@ expungible_files := $(wildcard *~ *.bak *eraseme*)
source_clean:
@-$(RM) --force $(expungible_files)
-.PHONY: clean
-clean: source_clean
- -$(RM) --force --recursive $(build_dir)
+# Simple aliases.
.PHONY: distclean mostlyclean maintainer-clean
distclean mostlyclean maintainer-clean: clean
+.PHONY: clean
+clean: source_clean
+ -$(RM) --force --recursive $(build_dir)
+
.PHONY: clobber
clobber: source_clean
-$(RM) --force --recursive $(srcdir)/../build
- [lmi-commits] [lmi] master updated (254138c -> e3a3984), Greg Chicares, 2019/04/24
- [lmi-commits] [lmi] master e3a3984 6/6: Eliminate an undesirable conditional, Greg Chicares, 2019/04/24
- [lmi-commits] [lmi] master 0bb144d 5/6: Rename makefile variable: s/toolset/toolchain/, Greg Chicares, 2019/04/24
- [lmi-commits] [lmi] master fd91b93 3/6: Reorder 'clean' targets,
Greg Chicares <=
- [lmi-commits] [lmi] master 1ce38fb 2/6: Rename $(build_directory) to the terser $(build_dir), Greg Chicares, 2019/04/24
- [lmi-commits] [lmi] master c6b5903 1/6: Remove obsolete documentation that has become misleading, Greg Chicares, 2019/04/24
- [lmi-commits] [lmi] master 4e8d281 4/6: Relocate lmi's build directory, Greg Chicares, 2019/04/24