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
Anton Palgunov
mkimage-profiles
Commits
3373a7bc
Commit
3373a7bc
authored
Sep 12, 2011
by
Michael Shigorin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Makefile: make everything
$(IMAGES) in prerequisites definitely won't work, so let's do it straightforward.
parent
0c987333
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
Makefile
Makefile
+5
-0
No files found.
Makefile
View file @
3373a7bc
...
...
@@ -18,6 +18,8 @@ include distro.mk
include
log.mk
include
iso.mk
.PHONY
:
$(IMAGES)
# we can't use implicit rules for top-level targets, only for prereqs
# NB: what about static pattern rules?
# TODO: move into libdistro?
...
...
@@ -30,6 +32,9 @@ IMAGEDIR ?= $(shell [ -d "$$HOME/out" -a -w "$$HOME/out" ] \
||
echo
"
$(BUILDDIR)
/out"
)
IMAGENAME
?=
mkimage-profiles-
$(ARCH)
.iso
everything
:
@
for
i
in
$(IMAGES)
;
do
$(MAKE)
BUILDDIR
=
$(BUILDDIR)
$$
i
;
done
$(IMAGES)
:
%.iso: | profile/init distro/% boot/isolinux profile/populate iso
@
# TODO: run automated tests
(
e.g. iso size
)
@
OUTNAME
=
"
$
(@:.iso=)-
$(DATE)
-
$(ARCH)
.iso"
;
\
...
...
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