diff options
Diffstat (limited to 'package')
-rw-r--r-- | package/.gitignore | 2 | ||||
-rw-r--r-- | package/nano/Makefile | 1 | ||||
-rw-r--r-- | package/pkgmaker | 9 |
3 files changed, 8 insertions, 4 deletions
diff --git a/package/.gitignore b/package/.gitignore index fc86a3bf6..b46bcd562 100644 --- a/package/.gitignore +++ b/package/.gitignore @@ -1,3 +1,5 @@ +*/Config.in +*/Config.new Depends.mk pkglist.d pkgopts.d diff --git a/package/nano/Makefile b/package/nano/Makefile index 8878b3e22..a4dcc2290 100644 --- a/package/nano/Makefile +++ b/package/nano/Makefile @@ -13,6 +13,7 @@ PKG_SECTION:= admin PKG_DEPENDS:= libncurses PKG_URL:= http://www.nano-editor.org PKG_SITES:= http://www.nano-editor.org/dist/v2.0/ +PKG_FLAVOURS:= TINY include ${TOPDIR}/mk/package.mk diff --git a/package/pkgmaker b/package/pkgmaker index 9e06a9def..d4a77b9e7 100644 --- a/package/pkgmaker +++ b/package/pkgmaker @@ -8,8 +8,8 @@ fi rm -rf pkglist.d pkgopts.d mkdir pkglist.d pkgopts.d -for a in */Makefile; do - sd=${a%/*} +for sd in */Makefile; do + sd=${sd%/*} cd $sd pa=$($GMAKE show=ALL_PKGOPTS) # pa: all subpackage options print -r -- $pa >../pkgopts.d/pa-"$sd" @@ -23,7 +23,8 @@ for a in */Makefile; do cd .. done -for sd in 6tunnel aiccu alsa-lib bash bc expat mksh; do +for sd in */Makefile; do + sd=${sd%/*} cd $sd pn=$($GMAKE show=PKG_NAME) # pn: package name pfl=$($GMAKE show=PKG_FLAVOURS) # pfl: all package flavours @@ -86,6 +87,6 @@ for sd in 6tunnel aiccu alsa-lib bash bc expat mksh; do print \\thelp print "\t flavour ADK_PACKAGE_${dnu}_$pf" done - ) >Config.in + ) >Config.new cd .. done |