summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * Makefile.in: Add deps to install-{exec,data}.feature/build-system-improvementsP. J. McDermott2013-05-091-2/+2
| |
| * Makefile.in: Move common commands into macros.P. J. McDermott2013-05-091-68/+37
| |
| * Makefile.in: Add `set -e` to long commands.P. J. McDermott2013-05-091-15/+15
| |
| * Makefile.in: Update $(distdir) target.P. J. McDermott2013-05-091-6/+4
| |
| * Makefile.in: Rmdir pkg{,buildsystem}dir.P. J. McDermott2013-05-091-1/+3
| |
| * src/local.mk: Fix macro name.P. J. McDermott2013-05-091-1/+1
| |
| * Makefile.in: Replace old sed cmds with basename.P. J. McDermott2013-05-091-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. McDermott2013-05-082-14/+10
| |
| * Move code from man/local.mk to Makefile.in.P. J. McDermott2013-05-082-28/+21
| |
| * Makefile.in: Get true basenames in (un)installs.P. J. McDermott2013-05-081-8/+8
| |
| * Makefile.in: Remove unnecessary mkdir commands.P. J. McDermott2013-05-081-6/+0
| |
| * Add pkglibbuildsystem macros.P. J. McDermott2013-05-082-6/+29
| |
| * Move code from lib/local.mk to Makefile.in.P. J. McDermott2013-05-082-23/+10
| |
| * Move code from src/local.mk to Makefile.in.P. J. McDermott2013-05-082-19/+18
| |
| * Makefile.in: Add missing package_library var.P. J. McDermott2013-05-061-0/+1
| |
| * Makefile.in: Fix some errors.P. J. McDermott2013-05-061-3/+1
| |
| * Note deprecation of libopkhelper variable.P. J. McDermott2013-05-064-0/+5
| |
| * Makefile.in: Remove obsolete MACROS macro.P. J. McDermott2013-05-051-12/+0
| | | | | | | | Everything is non-recursive now.
| * Make locale/ non-recursive.P. J. McDermott2013-05-053-84/+61
| |
| * Makefile.in: Update distfiles.P. J. McDermott2013-05-051-1/+3
| |
| * man/local.mk: Fix file header.P. J. McDermott2013-05-051-1/+1
| |
| * man/Makefile.in: Remove old recursive makefile.P. J. McDermott2013-05-051-85/+0
| |
| * Make man/ non-recursive.P. J. McDermott2013-05-0511-12/+84
| |
| * Add man1dir variable to build system.P. J. McDermott2013-05-052-0/+5
| |
| * Change lib macros and targets to pkglib ones.P. J. McDermott2013-05-053-20/+22
| |
| * Add pkglibdir variable (to replace libopkhelper).P. J. McDermott2013-05-052-3/+11
| |
| * Make lib/buildsystem/ non-recursive.P. J. McDermott2013-05-054-82/+34
| |
| * Make lib/ non-recursive.P. J. McDermott2013-05-053-88/+64
| |
| * Make src/ non-recursive.P. J. McDermott2013-05-053-101/+87
| |
| * configure: Normalize dependency parameter names.P. J. McDermott2013-05-051-2/+4
| |
| * configure: Only mkdir non-existent directories.P. J. McDermott2013-05-051-1/+1
| |
| * configure: Only edit top-level makefile.P. J. McDermott2013-05-051-5/+5
|/
* oh-installfiles: In mkdir cmd, rm / and 1+ chars.P. J. McDermott2013-04-281-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. McDermott2013-04-281-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. McDermott2013-04-281-1/+1
|
* oh-installfiles: Don't skip symbolic links.P. J. McDermott2013-04-281-1/+1
|
* Release opkhelper 3.0.0-beta1.opkhelper-3.0.0-beta1P. J. McDermott2012-11-162-1/+20
|
* Add a "dist-xz" makefile target.P. J. McDermott2012-11-161-0/+4
|
* Also set install_root and INSTALL_ROOT with make.P. J. McDermott2012-11-161-1/+15
|
* Set CONFIG_PREFIX when installing with kbuild.P. J. McDermott2012-11-161-1/+2
|
* Move user-set target check to common function.P. J. McDermott2012-11-161-16/+9
|
* Remove unneeded ob_parse_package_metadata() call.P. J. McDermott2012-11-151-5/+0
|
* Fix a return command.P. J. McDermott2012-11-151-1/+1
|
* Document oh-architecture.P. J. McDermott2012-11-152-1/+57
|
* Add -s and -B options to oh-architecture.P. J. McDermott2012-11-151-2/+8
|
* Update synopsis of oh-autoconfigure(1).P. J. McDermott2012-11-151-0/+2
|
* configure: Don't exit on unrecognized options.P. J. McDermott2012-11-141-2/+3
|
* Set mode of mkarchtab.P. J. McDermott2012-11-141-0/+1
|
* Update TODO.P. J. McDermott2012-11-141-2/+0
|
* Change kbuild archtab entries.P. J. McDermott2012-11-141-3/+3
|