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
8576a165
You need to sign in or sign up before continuing.
Commit
8576a165
authored
Apr 10, 2012
by
Michael Shigorin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bin/pkgdups: now with a UI frontend
Calling ../../bin/pkgdups with a bunch of pkglists was messy, so is done algorithmically from now on while in pkg.in/lists: make pkgdups
parent
865f4c76
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
4 deletions
+18
-4
Makefile
features.in/Makefile
+3
-0
Makefile
pkg.in/lists/Makefile
+14
-2
README
pkg.in/lists/README
+1
-2
No files found.
features.in/Makefile
View file @
8576a165
...
...
@@ -25,6 +25,9 @@ define grepper_body
done
endef
%
:
$
(
error BUILDDIR not defined
)
else
include
$(BUILDDIR)/distcfg.mk
...
...
pkg.in/lists/Makefile
View file @
8576a165
...
...
@@ -2,8 +2,17 @@
# (and only those!) over to $(BUILDDIR)
ifndef
BUILDDIR
$(error
BUILDDIR
not
defined)
endif
pkgdups
:
@
find
-type
f
!
-name
README
!
-name
Makefile
\
|
grep
-v
'~$$'
\
|
sed
's,^\./,,g'
\
| xargs ../../bin/pkgdups
%
:
$
(
error BUILDDIR not defined
)
else
include
$(BUILDDIR)/distcfg.mk
SUFFIX
:=
pkg/lists
...
...
@@ -46,6 +55,7 @@ endef
dump-PACKAGES
=
$
(
call dump-THEM,
$
(
1
)
,PACKAGES,echo
)
dump-LISTS
=
$
(
call dump-THEM,
$
(
1
)
,LISTS,cat
)
# BASE_PACKAGES, BASE_LISTS and whatever else goes into base install
dot-base
:
@
# construct .base packagelist for alterator-pkg
@
{
\
...
...
@@ -64,3 +74,5 @@ debug:
$
(
filter %_LISTS,
$
(
sort
$
(
.VARIABLES
)))
,
\
$
(
if
$
(
filter environment% file,
$
(
origin
$V
))
,
\
$(
shell
echo
'\\n"**"'
$V
:
$
(
value
$V))
))
'\n'
endif
pkg.in/lists/README
View file @
8576a165
...
...
@@ -9,8 +9,7 @@
Подкаталог tagged/ содержит тегированные списки, имена которых
удобно получать функцией tags() (см. ../../lib/functions.mk).
Для выявления дубликатов в составе списков служит запускаемый
с указанием перечня анализируемых файлов скрипт ../../bin/pkgdups;
Для выявления дубликатов в составе списков служит `make pkgdups';
пытаться избежать дублей на 100% скорее бесполезно, но бродячие
устойчивые группы пакетов могут заслуживать выделения отдельным
списком.
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