Module Name: othersrc Committed By: agc Date: Mon May 23 06:31:25 UTC 2011
Modified Files: othersrc/external/bsd/gensetlist: bsd.setlist.mk Log Message: where there are multiple scripts and no syspkg category, take the first script name as being the category. also remove unwanted characters from the syspkg category names (not just for scripts but for any category) To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 othersrc/external/bsd/gensetlist/bsd.setlist.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: othersrc/external/bsd/gensetlist/bsd.setlist.mk diff -u othersrc/external/bsd/gensetlist/bsd.setlist.mk:1.4 othersrc/external/bsd/gensetlist/bsd.setlist.mk:1.5 --- othersrc/external/bsd/gensetlist/bsd.setlist.mk:1.4 Sat May 14 00:08:45 2011 +++ othersrc/external/bsd/gensetlist/bsd.setlist.mk Mon May 23 06:31:24 2011 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.setlist.mk,v 1.4 2011/05/14 00:08:45 agc Exp $ +# $NetBSD: bsd.setlist.mk,v 1.5 2011/05/23 06:31:24 agc Exp $ # Copyright (c) 2010,2011 Alistair Crooks <a...@netbsd.org> # All rights reserved. @@ -72,11 +72,11 @@ . elif defined(LIB) CATEGORY=${LIB} . elif defined(SCRIPTS) -CATEGORY=${SCRIPTS:C|\.sh||} +CATEGORY=${SCRIPTS:Q:C|[. ]+.*||} . endif .endif .if defined(CATEGORY) -GENSETLIST_ARGS+=-c ${CATEGORY:Q} +GENSETLIST_ARGS+=-c ${CATEGORY:Q:C|-||g} .endif setlist: .PHONY