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
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
fadd4ac0
Commit
fadd4ac0
authored
Nov 23, 2021
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pkg.in/lists/Makefile: refactoring save_packages_to_lists target
parent
d367f042
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
36 deletions
+4
-36
Makefile
pkg.in/lists/Makefile
+4
-36
No files found.
pkg.in/lists/Makefile
View file @
fadd4ac0
...
...
@@ -31,42 +31,10 @@ copy-lists:
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
@
$
(
foreach V,
\
$
(
filter-out GLOBAL_% PINNED_%,
$
(
filter %_PACKAGES,
$
(
sort
\
$
(
.VARIABLES
))))
,echo
$
(
$V
)
|
sed
-e
's/\s\+/\n/g'
\
|
sort
-u
>
$(TARGET)
/
$V
;
)
check-lists
:
@
APTBOX
=
$(BUILDDIR)
/.work/pkgbox/aptbox
;
\
...
...
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