[arch-projects] [devtools] [PATCH v2] Support non-standard install locations

Lukas Fleischer archlinux at cryptocrack.de
Mon Aug 29 05:03:03 EDT 2011


On Mon, Aug 29, 2011 at 11:00:51AM +0200, Lukas Fleischer wrote:
> This build system overhaul allows for adding (define-style) macros to
> our scripts. All source files are now suffixed with ".in" to clarify
> that they might contain unprocessed defines. The Makefile provides a new
> rule to preprocess source files and generate proper output scripts.
> 
> Also, add a "@pkgdatadir@" define (as used in GNU Autotools) and use it
> instead of hardcoded paths to "/usr/share/devtools" everywhere. We
> missed this when adding PREFIX support to the build system in commit
> 35fc83ce7d8dc26cd424321f2e8638d05da0a6d4.
> 
> Signed-off-by: Lukas Fleischer <archlinux at cryptocrack.de>
> ---
> Forgot to add checkpkg to ".gitignore" for some reason... Fixed.

Hah, and forgot "-M" this time. Awesome... :/

> 
>  .gitignore         |   13 +++
>  Makefile           |    8 ++-
>  archbuild          |   68 ------------
>  archbuild.in       |   68 ++++++++++++
>  archco             |   23 ----
>  archco.in          |   23 ++++
>  archrelease        |   67 ------------
>  archrelease.in     |   67 ++++++++++++
>  archrm             |   13 ---
>  archrm.in          |   13 +++
>  bash_completion    |   69 ------------
>  bash_completion.in |   69 ++++++++++++
>  checkpkg           |   90 ---------------
>  checkpkg.in        |   90 +++++++++++++++
>  commitpkg          |  207 -----------------------------------
>  commitpkg.in       |  207 +++++++++++++++++++++++++++++++++++
>  finddeps           |   46 --------
>  finddeps.in        |   46 ++++++++
>  lddd               |   46 --------
>  lddd.in            |   46 ++++++++
>  makechrootpkg      |  305 ----------------------------------------------------
>  makechrootpkg.in   |  305 ++++++++++++++++++++++++++++++++++++++++++++++++++++
>  mkarchroot         |  231 ---------------------------------------
>  mkarchroot.in      |  231 +++++++++++++++++++++++++++++++++++++++
>  rebuildpkgs        |  101 -----------------
>  rebuildpkgs.in     |  101 +++++++++++++++++
>  zsh_completion     |   81 --------------
>  zsh_completion.in  |   81 ++++++++++++++
>  28 files changed, 1367 insertions(+), 1348 deletions(-)
>  delete mode 100755 archbuild
>  create mode 100644 archbuild.in
>  delete mode 100755 archco
>  create mode 100644 archco.in
>  delete mode 100755 archrelease
>  create mode 100644 archrelease.in
>  delete mode 100755 archrm
>  create mode 100644 archrm.in
>  delete mode 100644 bash_completion
>  create mode 100644 bash_completion.in
>  delete mode 100755 checkpkg
>  create mode 100644 checkpkg.in
>  delete mode 100755 commitpkg
>  create mode 100644 commitpkg.in
>  delete mode 100755 finddeps
>  create mode 100644 finddeps.in
>  delete mode 100755 lddd
>  create mode 100644 lddd.in
>  delete mode 100755 makechrootpkg
>  create mode 100644 makechrootpkg.in
>  delete mode 100755 mkarchroot
>  create mode 100644 mkarchroot.in
>  delete mode 100755 rebuildpkgs
>  create mode 100644 rebuildpkgs.in
>  delete mode 100644 zsh_completion
>  create mode 100644 zsh_completion.in
> 


More information about the arch-projects mailing list