Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
... | |||||
| * | Makefile.in: Update $(distdir) target. | P. J. McDermott | 2013-05-09 | 1 | -6/+4 |
| | | |||||
| * | Makefile.in: Rmdir pkg{,buildsystem}dir. | P. J. McDermott | 2013-05-09 | 1 | -1/+3 |
| | | |||||
| * | src/local.mk: Fix macro name. | P. J. McDermott | 2013-05-09 | 1 | -1/+1 |
| | | |||||
| * | Makefile.in: Replace old sed cmds with basename. | P. J. McDermott | 2013-05-09 | 1 | -8/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The result is the same, and basename is a bit faster than sed is. A quick and dirty benchmark: printf 'printf and sed:\n' i=0 while [ ${i} -lt 3 ]; do time -p sh >/dev/null <<-EOF i=0 while [ \${i} -lt 1000 ]; do printf '%s' 'foo/bar' | sed 's|^.*/||' i=\$((\$i + 1)) done EOF i=$(($i + 1)) done printf '\nbasename:\n' i=0 while [ ${i} -lt 3 ]; do time -p sh >/dev/null <<-EOF i=0 while [ \${i} -lt 1000 ]; do basename 'foo/bar' i=\$((\$i + 1)) done EOF i=$(($i + 1)) done And the unsurprising results: printf and sed: real 1.17 user 0.02 sys 0.17 real 1.18 user 0.01 sys 0.18 real 1.17 user 0.02 sys 0.16 basename: real 0.74 user 0.02 sys 0.08 real 0.74 user 0.02 sys 0.08 real 0.72 user 0.04 sys 0.06 basename is about 37% – 38% faster. | ||||
| * | Move code from locale/local.mk to Makefile.in. | P. J. McDermott | 2013-05-08 | 2 | -14/+10 |
| | | |||||
| * | Move code from man/local.mk to Makefile.in. | P. J. McDermott | 2013-05-08 | 2 | -28/+21 |
| | | |||||
| * | Makefile.in: Get true basenames in (un)installs. | P. J. McDermott | 2013-05-08 | 1 | -8/+8 |
| | | |||||
| * | Makefile.in: Remove unnecessary mkdir commands. | P. J. McDermott | 2013-05-08 | 1 | -6/+0 |
| | | |||||
| * | Add pkglibbuildsystem macros. | P. J. McDermott | 2013-05-08 | 2 | -6/+29 |
| | | |||||
| * | Move code from lib/local.mk to Makefile.in. | P. J. McDermott | 2013-05-08 | 2 | -23/+10 |
| | | |||||
| * | Move code from src/local.mk to Makefile.in. | P. J. McDermott | 2013-05-08 | 2 | -19/+18 |
| | | |||||
| * | Makefile.in: Add missing package_library var. | P. J. McDermott | 2013-05-06 | 1 | -0/+1 |
| | | |||||
| * | Makefile.in: Fix some errors. | P. J. McDermott | 2013-05-06 | 1 | -3/+1 |
| | | |||||
| * | Note deprecation of libopkhelper variable. | P. J. McDermott | 2013-05-06 | 4 | -0/+5 |
| | | |||||
| * | Makefile.in: Remove obsolete MACROS macro. | P. J. McDermott | 2013-05-05 | 1 | -12/+0 |
| | | | | | | | | Everything is non-recursive now. | ||||
| * | Make locale/ non-recursive. | P. J. McDermott | 2013-05-05 | 3 | -84/+61 |
| | | |||||
| * | Makefile.in: Update distfiles. | P. J. McDermott | 2013-05-05 | 1 | -1/+3 |
| | | |||||
| * | man/local.mk: Fix file header. | P. J. McDermott | 2013-05-05 | 1 | -1/+1 |
| | | |||||
| * | man/Makefile.in: Remove old recursive makefile. | P. J. McDermott | 2013-05-05 | 1 | -85/+0 |
| | | |||||
| * | Make man/ non-recursive. | P. J. McDermott | 2013-05-05 | 11 | -12/+84 |
| | | |||||
| * | Add man1dir variable to build system. | P. J. McDermott | 2013-05-05 | 2 | -0/+5 |
| | | |||||
| * | Change lib macros and targets to pkglib ones. | P. J. McDermott | 2013-05-05 | 3 | -20/+22 |
| | | |||||
| * | Add pkglibdir variable (to replace libopkhelper). | P. J. McDermott | 2013-05-05 | 2 | -3/+11 |
| | | |||||
| * | Make lib/buildsystem/ non-recursive. | P. J. McDermott | 2013-05-05 | 4 | -82/+34 |
| | | |||||
| * | Make lib/ non-recursive. | P. J. McDermott | 2013-05-05 | 3 | -88/+64 |
| | | |||||
| * | Make src/ non-recursive. | P. J. McDermott | 2013-05-05 | 3 | -101/+87 |
| | | |||||
| * | configure: Normalize dependency parameter names. | P. J. McDermott | 2013-05-05 | 1 | -2/+4 |
| | | |||||
| * | configure: Only mkdir non-existent directories. | P. J. McDermott | 2013-05-05 | 1 | -1/+1 |
| | | |||||
| * | configure: Only edit top-level makefile. | P. J. McDermott | 2013-05-05 | 1 | -5/+5 |
|/ | |||||
* | oh-installfiles: In mkdir cmd, rm / and 1+ chars. | P. J. McDermott | 2013-04-28 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, a pattern like `/usr/include/` in <binpkg>.pkg/files would cause oh-installfiles to run `mkdir -p <binpkg>.data//usr/include` and install headers in `<binpkg>.data/usr/include/include/`. Before: $ pkg=foo $ file=/usr/include $ echo mkdir -p "${pkg}.data/${file%/*}" mkdir -p foo.data//usr $ file=/usr/include/ $ echo mkdir -p "${pkg}.data/${file%/*}" mkdir -p foo.data//usr/include After: $ pkg=foo $ file=/usr/include $ echo mkdir -p "${pkg}.data/${file%/?*}" mkdir -p foo.data//usr $ file=/usr/include/ $ echo mkdir -p "${pkg}.data/${file%/?*}" mkdir -p foo.data//usr | ||||
* | Store absolute path in _OH_BUILDSYSTEM_SOURCE_DIR. | P. J. McDermott | 2013-04-28 | 1 | -1/+2 |
| | | | | | | _oh_autoconf_configure() changes the current directory to ${_OH_BUILDSYSTEM_BUILD_DIR}, making the call to configure fail if a relative path is given in oh-autoconfigure's -s option. | ||||
* | oh_set_buildsystem_option(): Fix parameter name. | P. J. McDermott | 2013-04-28 | 1 | -1/+1 |
| | |||||
* | oh-installfiles: Don't skip symbolic links. | P. J. McDermott | 2013-04-28 | 1 | -1/+1 |
| | |||||
* | Release opkhelper 3.0.0-beta1.opkhelper-3.0.0-beta1 | P. J. McDermott | 2012-11-16 | 2 | -1/+20 |
| | |||||
* | Add a "dist-xz" makefile target. | P. J. McDermott | 2012-11-16 | 1 | -0/+4 |
| | |||||
* | Also set install_root and INSTALL_ROOT with make. | P. J. McDermott | 2012-11-16 | 1 | -1/+15 |
| | |||||
* | Set CONFIG_PREFIX when installing with kbuild. | P. J. McDermott | 2012-11-16 | 1 | -1/+2 |
| | |||||
* | Move user-set target check to common function. | P. J. McDermott | 2012-11-16 | 1 | -16/+9 |
| | |||||
* | Remove unneeded ob_parse_package_metadata() call. | P. J. McDermott | 2012-11-15 | 1 | -5/+0 |
| | |||||
* | Fix a return command. | P. J. McDermott | 2012-11-15 | 1 | -1/+1 |
| | |||||
* | Document oh-architecture. | P. J. McDermott | 2012-11-15 | 2 | -1/+57 |
| | |||||
* | Add -s and -B options to oh-architecture. | P. J. McDermott | 2012-11-15 | 1 | -2/+8 |
| | |||||
* | Update synopsis of oh-autoconfigure(1). | P. J. McDermott | 2012-11-15 | 1 | -0/+2 |
| | |||||
* | configure: Don't exit on unrecognized options. | P. J. McDermott | 2012-11-14 | 1 | -2/+3 |
| | |||||
* | Set mode of mkarchtab. | P. J. McDermott | 2012-11-14 | 1 | -0/+1 |
| | |||||
* | Update TODO. | P. J. McDermott | 2012-11-14 | 1 | -2/+0 |
| | |||||
* | Change kbuild archtab entries. | P. J. McDermott | 2012-11-14 | 1 | -3/+3 |
| | |||||
* | Implement a "kbuild" build system plugin. | P. J. McDermott | 2012-11-14 | 2 | -1/+117 |
| | |||||
* | Support -s in oh-auto{build,clean,install}. | P. J. McDermott | 2012-11-14 | 6 | -3/+36 |
| | |||||
* | Document the -s option of oh-autoconfigure. | P. J. McDermott | 2012-11-14 | 1 | -0/+8 |
| |