Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
e73cd209
Commit
e73cd209
authored
May 30, 2009
by
Ian Lynagh
Browse files
make the clean_libraries target work, so you can "make clean" in libraries/
parent
a8783f0e
Changes
2
Hide whitespace changes
Inline
Side-by-side
ghc.mk
View file @
e73cd209
...
...
@@ -894,10 +894,14 @@ CLEAN_FILES += utils/ghc-pwd/ghc-pwd.hi
CLEAN_FILES
+=
utils/ghc-pwd/ghc-pwd.o
CLEAN_FILES
+=
libraries/bootstrapping.conf
clean
:
clean_files
clean
:
clean_files clean_libraries
.PHONY
:
clean_files
clean_files
:
$(RM)
$(CLEAN_FILES)
.PHONY
:
clean_libraries
clean_libraries
:
$(RM)
-r
$(
patsubst
%, libraries/%/dist,
$(PACKAGES)
$(PACKAGES_STAGE2)
)
$(RM)
-r
$(
patsubst
%, libraries/%/dist-install,
$(PACKAGES)
$(PACKAGES_STAGE2)
)
$(RM)
-r
$(
patsubst
%, libraries/%/dist-boot,
$(PACKAGES)
$(PACKAGES_STAGE2)
)
...
...
rules/build-package.mk
View file @
e73cd209
...
...
@@ -45,10 +45,8 @@ $(call all-target,$1,all_$1_$2)
$(call
clean-target,$1,$2,$1/$2)
# This give us things like
# all_libraries: all_libraries/base_dist-install
# clean_libraries: clean_libraries/base_dist-install
ifneq
"$$($1_$2_GROUP)" ""
all_$$($1_$2_GROUP)
:
all_$1_$2
clean_$$($1_$2_GROUP)
:
clean_$1_$2
endif
distclean
:
clean_$1_$2_config
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment