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
8a4d1b91
Commit
8a4d1b91
authored
Sep 08, 2021
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Makefile: check *_PACKAGES* variables as lists
parent
5b3e3ee6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
1 deletion
+40
-1
Makefile
pkg.in/lists/Makefile
+40
-1
No files found.
pkg.in/lists/Makefile
View file @
8a4d1b91
...
...
@@ -19,7 +19,7 @@ include $(BUILDDIR)/functions.mk
SUFFIX
:=
pkg/lists
TARGET
:=
$(BUILDDIR)
/
$(SUFFIX)
all
:
| $(TARGET) $(GLOBAL_DEBUG) copy-lists copy-groups grep-metadep grep-archdep check-lists
all
:
| $(TARGET) $(GLOBAL_DEBUG) copy-lists copy-groups
save_packages_to_lists
grep-metadep grep-archdep check-lists
@
mp-commit
"
$(TARGET)
"
"requested
$(SUFFIX)
copied over"
# env | sort -u | grep _LISTS | xargs -r cp -t
...
...
@@ -30,11 +30,50 @@ copy-lists:
|xargs
-r
--
cp
--parents
-at
$(TARGET)
--
;
\
find
$(TARGET)
-name
'README'
-delete
-o
-name
'Makefile'
-delete
save_packages_to_lists
:
@
echo
$(BASE_PACKAGES)
|sed
-e
's/\s\+/\n/g'
\
|sort
-u
>
$(TARGET)
/BASE_PACKAGES
@
echo
$(BASE_PACKAGES_REGEXP)
|sed
-e
's/\s\+/\n/g'
\
|sort
-u
>
$(TARGET)
/BASE_PACKAGES_REGEXP
@
echo
$(COMMON_PACKAGES)
|sed
-e
's/\s\+/\n/g'
\
|sort
-u
>
$(TARGET)
/COMMON_PACKAGES
@
echo
$(COMMON_PACKAGES_REGEXP)
|sed
-e
's/\s\+/\n/g'
\
|sort
-u
>
$(TARGET)
/COMMON_PACKAGES_REGEXP
@
echo
$(INSTALL2_PACKAGES)
|sed
-e
's/\s\+/\n/g'
\
|sort
-u
>
$(TARGET)
/INSTALL2_PACKAGES
@
echo
$(INSTALL2_PACKAGES_REGEXP)
|sed
-e
's/\s\+/\n/g'
\
|sort
-u
>
$(TARGET)
/INSTALL2_PACKAGES_REGEXP
@
echo
$(LIVE_PACKAGES)
|sed
-e
's/\s\+/\n/g'
\
|sort
-u
>
$(TARGET)
/LIVE_PACKAGES
@
echo
$(LIVE_PACKAGES_REGEXP)
|sed
-e
's/\s\+/\n/g'
\
|sort
-u
>
$(TARGET)
/LIVE_PACKAGES_REGEXP
@
echo
$(MAIN_PACKAGES)
|sed
-e
's/\s\+/\n/g'
\
|sort
-u
>
$(TARGET)
/MAIN_PACKAGES
@
echo
$(MAIN_PACKAGES_REGEXP)
|sed
-e
's/\s\+/\n/g'
\
|sort
-u
>
$(TARGET)
/MAIN_PACKAGES_REGEXP
@
echo
$(STAGE1_PACKAGES)
|sed
-e
's/\s\+/\n/g'
\
|sort
-u
>
$(TARGET)
/STAGE1_PACKAGES
@
echo
$(STAGE1_PACKAGES_REGEXP)
|sed
-e
's/\s\+/\n/g'
\
|sort
-u
>
$(TARGET)
/STAGE1_PACKAGES_REGEXP
@
echo
$(STAGE2_PACKAGES)
|sed
-e
's/\s\+/\n/g'
\
|sort
-u
>
$(TARGET)
/STAGE2_PACKAGES
@
echo
$(STAGE2_PACKAGES_REGEXP)
|sed
-e
's/\s\+/\n/g'
\
|sort
-u
>
$(TARGET)
/STAGE2_PACKAGES_REGEXP
@
echo
$(SYSTEM_PACKAGES)
|sed
-e
's/\s\+/\n/g'
\
|sort
-u
>
$(TARGET)
/SYSTEM_PACKAGES
@
echo
$(SYSTEM_PACKAGES_REGEXP)
|sed
-e
's/\s\+/\n/g'
\
|sort
-u
>
$(TARGET)
/SYSTEM_PACKAGES_REGEXP
@
echo
$(THE_PACKAGES)
|sed
-e
's/\s\+/\n/g'
\
|sort
-u
>
$(TARGET)
/THE_PACKAGES
@
echo
$(THE_PACKAGES_REGEXP)
|sed
-e
's/\s\+/\n/g'
\
|sort
-u
>
$(TARGET)
/THE_PACKAGES_REGEXP
check-lists
:
@
APTBOX
=
$(BUILDDIR)
/.work/pkgbox/aptbox
;
\
if
[
-d
"
$$
APTBOX"
]
;
then
\
check-pkg-list
--aptbox
"
$$
APTBOX"
`
find
$(TARGET)
-type
f
`
;
\
fi
@
rm
-f
$(TARGET)
/
*
_PACKAGES
*
copy-groups
:
PKGDIR = ..
copy-groups
:
...
...
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