Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jberryman
GHC
Commits
e361e1ed
Commit
e361e1ed
authored
Sep 30, 2002
by
simonmar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[project @ 2002-09-30 10:26:58 by simonmar]
s/rm -f/$(RM)
parent
c412b019
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Makefile
Makefile
+3
-3
No files found.
Makefile
View file @
e361e1ed
...
...
@@ -101,7 +101,7 @@ ifeq "$(BIN_DIST)" ""
echo
"WARNING: To run the binary-dist target, you need to set BIN_DIST=1 in your build.mk"
&&
exit
1
endif
-
rm
-rf
$(BIN_DIST_TMPDIR)
/
$(BIN_DIST_NAME)
-
rm
-f
$(BIN_DIST_TMPDIR)
/
$(BIN_DIST_NAME)
.tar.gz
-
$(RM)
$(BIN_DIST_TMPDIR)
/
$(BIN_DIST_NAME)
.tar.gz
@
for
i
in
$(BIN_DIST_DIRS)
;
do
\
if
test
-d
"
$$
i"
;
then
\
echo
$(MKDIRHIER)
$(BIN_DIST_TMPDIR)
/
$(BIN_DIST_NAME)
/bin/
$(TARGETPLATFORM)
;
\
...
...
@@ -224,7 +224,7 @@ endif
ifneq
"$(way)" ""
remove-way-dist
::
(
cd
$(BIN_DIST_TMPDIR)
;
$(FIND)
$(BIN_DIST_NAME)
/
\(
-name
"*
$(_way)
.a"
-o
-name
"*.
$(way_)
hi"
\)
-print
-exec
rm
-f
{}
\;
)
(
cd
$(BIN_DIST_TMPDIR)
;
$(FIND)
$(BIN_DIST_NAME)
/
\(
-name
"*
$(_way)
.a"
-o
-name
"*.
$(way_)
hi"
\)
-print
-exec
$(RM)
{}
\;
)
endif
binary-dist
::
...
...
@@ -266,7 +266,7 @@ dist :: distclean
dist
::
-
rm
-rf
$(SRC_DIST_DIR)
-
rm
-f
$(SRC_DIST_NAME)
.tar.gz
-
$(RM)
$(SRC_DIST_NAME)
.tar.gz
mkdir
$(SRC_DIST_DIR)
mkdir
$(SRC_DIST_DIR)
/mk
(
cd
$(FPTOOLS_TOP_ABS)
;
$(FIND)
$(SRC_DIST_DIRS)
-type
d
\(
-name
CVS
-prune
-o
-name
SRC
-prune
-o
-print
\)
|
sed
-e
's!.*!mkdir "
$(SRC_DIST_DIR)
/&"!'
| sh
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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