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
eae7b38c
You need to sign in or sign up before continuing.
Commit
eae7b38c
authored
Apr 15, 2016
by
Michael Shigorin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
groups: added `make check'
This one has became direly needed while reworking Centaurus' pkglists/groups into a tree.
parent
4c2ff130
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
2 deletions
+31
-2
Makefile
pkg.in/groups/Makefile
+31
-2
No files found.
pkg.in/groups/Makefile
View file @
eae7b38c
...
@@ -2,8 +2,35 @@
...
@@ -2,8 +2,35 @@
# (and only those!) over to $(BUILDDIR)
# (and only those!) over to $(BUILDDIR)
ifndef
BUILDDIR
ifndef
BUILDDIR
$(error
BUILDDIR
not
defined)
endif
check all
:
check-parents check-echo check-pkglists; @:
check-parents
:
@
find
-name
"*.directory"
\
| xargs
-r
--
sed
-rn
's,^X-Alterator-Parent=(.*)$$,\1,p'
\
|
sort
-u
\
|
while
read
group
;
do
\
if
!
[
-f
"
$$
group.directory"
]
;
then
\
echo
"** Error: missing parent group referenced in:"
;
\
grep
-rl
"=
$$
group
$$
"
$$
(
find
-name
"*.directory"
)
;
\
fi
>
&2
;
\
done
check-echo
:
@
echo
check-pkglists
:
@
find
-name
"*.directory"
\
| xargs
-r
--
sed
-rn
's,^X-Alterator-PackageList=(.*)$$,\1,p'
\
|
sort
-u
\
|
while
read
list
;
do
\
if
!
[
-f
"../lists/
$$
list"
]
;
then
\
echo
"** Error: missing pkglist referenced in:"
;
\
grep
-rl
"=
$$
list
$$
"
$$
(
find
-name
"*.directory"
)
;
\
fi
>
&2
;
\
done
else
include
$(BUILDDIR)/distcfg.mk
include
$(BUILDDIR)/distcfg.mk
SUFFIX
:=
pkg/groups
SUFFIX
:=
pkg/groups
...
@@ -20,3 +47,5 @@ all: $(GLOBAL_DEBUG)
...
@@ -20,3 +47,5 @@ all: $(GLOBAL_DEBUG)
debug
:
debug
:
@
echo
"** THE_GROUPS:
$(THE_GROUPS)
"
@
echo
"** THE_GROUPS:
$(THE_GROUPS)
"
@
echo
"** MAIN_GROUPS:
$(MAIN_GROUPS)
"
@
echo
"** MAIN_GROUPS:
$(MAIN_GROUPS)
"
endif
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