Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
mkimage-profiles
Commits
29327e2b
You need to sign in or sign up before continuing.
Commit
29327e2b
authored
Feb 21, 2015
by
Michael Shigorin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
features.in/Makefile: avoid spurious backups
This doesn't look like a clean solution, whitelist should be way more reasonable; still better than dirty builddir though.
parent
aea95968
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
Makefile
features.in/Makefile
+4
-2
No files found.
features.in/Makefile
View file @
29327e2b
...
...
@@ -65,6 +65,8 @@ prep:
# - "rootfs@/": copy feature's rootfs parts into BUILDDIR toplevel
$(FEATURES)
:
@
feat
=
$@
;
\
args
=
"-qab --exclude README --exclude config.mk"
;
\
args
=
"
$$
args --exclude generate.mk --exclude generate.sh"
;
\
if
[
-n
"
$(GLOBAL_DEBUG)
"
]
;
then
\
echo
"** adding
$$
feat feature"
;
\
fi
;
\
...
...
@@ -92,7 +94,7 @@ $(FEATURES):
fi
;
\
:
"why this overduplication was done? (still needed)"
;
\
for
srcdir
in
$$
srcdirs
;
do
\
rsync
-qab
"
$$
srcdir/"
"
$(BUILDDIR)
/
$$
dst/"
;
\
rsync
$$
args
"
$$
srcdir/"
"
$(BUILDDIR)
/
$$
dst/"
;
\
done
;
\
fi
;
\
if
[
-n
"
$(GLOBAL_DEBUG)
"
]
;
then
\
...
...
@@ -105,7 +107,7 @@ $(FEATURES):
destdir
=
"
$(BUILDDIR)
/
$$
dst/
$$
part"
;
\
[
-d
"
$$
destdir"
]
||
continue
;
\
if
[
"
$$
sub"
=
/
-a
-d
"
$$
part"
]
;
then
\
rsync
-qab
"
$$
part/"
"
$$
destdir/"
;
\
rsync
$$
args
"
$$
part/"
"
$$
destdir/"
;
\
fi
;
\
done
;
\
popd
>
&/dev/null
;
\
...
...
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