Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Commit 0c268b0

Browse files
committed
some improvements to the clean targets
1 parent ee29b10 commit 0c268b0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Makefile

+3-4
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,7 @@ $(env-runtime): $(cygwin-runtime) $(sage-runtime) $(cygwin-runtime-extras)
106106
(cd $(ENV_RUNTIME_DIR) && find . -type l) > $(ENV_RUNTIME_DIR)/etc/symlinks.lst
107107
@touch $@
108108

109-
clean-env-runtime:
110-
rm -f $(ENV_RUNTIME_DIR)/etc/*symlinks.lst
109+
clean-env-runtime: clean-cygwin-runtime
111110
rm -f $(env-runtime)
112111

113112

@@ -168,7 +167,6 @@ $(cygwin-runtime-extras): $(cygwin-runtime)
168167
# Right now the only effective way to roll back cygwin-runtime-extras
169168
# is to clean the entire runtime cygwin environment
170169
clean-cygwin-runtime-extras: clean-cygwin-runtime
171-
rm -f $(cygwin-runtime-extras)
172170

173171

174172
$(STAMPS)/cygwin-%: | $(ENVS)/% $(STAMPS)
@@ -178,9 +176,10 @@ clean-cygwin-build:
178176
rm -rf $(ENV_BUILD_DIR)
179177
rm -f $(cygwin-build)
180178

181-
clean-cygwin-runtime:
179+
clean-cygwin-runtime: clean-sage-runtime
182180
rm -rf $(ENV_RUNTIME_DIR)
183181
rm -f $(cygwin-runtime)
182+
rm -f $(cygwin-runtime-extras)
184183

185184

186185
.SECONDARY: $(ENV_BUILD_DIR) $(ENV_RUNTIME_DIR)

0 commit comments

Comments
 (0)