mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
include package description in menuconfig help
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3687 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
9a9c73042c
commit
e22333c1ec
@ -117,9 +117,13 @@ DUMPINFO += \
|
||||
echo "Depends: $$(IDEPEND_$(1))"; \
|
||||
echo "Category: $(CATEGORY)"; \
|
||||
echo "Title: $(TITLE)"; \
|
||||
echo "Description: $(DESCRIPTION)" | sed -e 's,\\,\n,g'; \
|
||||
echo "Description: $(DESCRIPTION)" | sed -e 's,\\,\n,g';
|
||||
ifneq ($(URL),)
|
||||
DUMPINFO += \
|
||||
echo; \
|
||||
echo "$(URL)"; \
|
||||
echo "$(URL)";
|
||||
endif
|
||||
DUMPINFO += \
|
||||
echo "@@";
|
||||
|
||||
|
||||
|
||||
@ -28,6 +28,8 @@ sub print_category($) {
|
||||
foreach my $depend (@{$pkg->{depends}}) {
|
||||
print "\t\tdepends PACKAGE_$depend\n";
|
||||
}
|
||||
print "\t\thelp\n";
|
||||
print $pkg->{description};
|
||||
print "\n"
|
||||
}
|
||||
}
|
||||
@ -66,11 +68,11 @@ while ($line = <>) {
|
||||
push @{$category{$1}->{$src}}, $pkg;
|
||||
};
|
||||
$line =~ /^Description: \s*(.*)\s*$/ and do {
|
||||
my $desc = $1;
|
||||
my $desc = "\t\t$1\n\n";
|
||||
my $line;
|
||||
while (<>) {
|
||||
last if /^@@/;
|
||||
$desc .= $1;
|
||||
while ($line = <>) {
|
||||
last if $line =~ /^@@/;
|
||||
$desc .= "\t\t$line";
|
||||
}
|
||||
$pkg->{description} = $desc;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user