git: binutils: Make manpage handling generic to ease maintenance

John Marino marino at crater.dragonflybsd.org
Sun Feb 12 13:01:54 PST 2012


commit 31468d702ff67ca49b120f946387228cf72df1ff
Author: John Marino <draco at marino.st>
Date:   Sun Feb 12 18:35:45 2012 +0100

    binutils: Make manpage handling generic to ease maintenance
    
    DragonFly has two sets of binutils with one designated as primary and the
    other is the backup.  In the recent past, every time these designation
    were switched or a new binutils was brought in, around 30 makefiles had
    to be manually and tediously updated in at least 3 places per file.
    
    This commit implements common variables that will make future primary
    designation changes not require changes to individual makefiles, but
    rather limit the update to a couple of commons ones.

Summary of changes:
 gnu/usr.bin/Makefile                       |   10 ++++++----
 gnu/usr.bin/Makefile.buo                   |   23 +++++++++++++++++++++++
 gnu/usr.bin/binutils221/Makefile.inc       |    2 +-
 gnu/usr.bin/binutils221/Makefile.inc1      |    2 ++
 gnu/usr.bin/binutils221/addr2line/Makefile |   12 +++++++++---
 gnu/usr.bin/binutils221/ar/Makefile        |   12 +++++++++---
 gnu/usr.bin/binutils221/as/Makefile.inc0   |   12 +++++++++---
 gnu/usr.bin/binutils221/cxxfilt/Makefile   |   12 +++++++++---
 gnu/usr.bin/binutils221/elfedit/Makefile   |   12 +++++++++---
 gnu/usr.bin/binutils221/gprof/Makefile     |   12 +++++++++---
 gnu/usr.bin/binutils221/ld/Makefile        |   14 +++++++++-----
 gnu/usr.bin/binutils221/nm/Makefile        |   12 +++++++++---
 gnu/usr.bin/binutils221/objcopy/Makefile   |   12 +++++++++---
 gnu/usr.bin/binutils221/objdump/Makefile   |   12 +++++++++---
 gnu/usr.bin/binutils221/ranlib/Makefile    |   12 +++++++++---
 gnu/usr.bin/binutils221/readelf/Makefile   |   12 +++++++++---
 gnu/usr.bin/binutils221/size/Makefile      |   12 +++++++++---
 gnu/usr.bin/binutils221/strings/Makefile   |   12 +++++++++---
 gnu/usr.bin/binutils221/strip/Makefile     |   12 +++++++++---
 gnu/usr.bin/binutils222/Makefile.inc       |    2 +-
 gnu/usr.bin/binutils222/Makefile.inc1      |    2 ++
 gnu/usr.bin/binutils222/addr2line/Makefile |   13 +++++++++----
 gnu/usr.bin/binutils222/ar/Makefile        |   13 +++++++++----
 gnu/usr.bin/binutils222/as/Makefile.inc0   |   13 +++++++++----
 gnu/usr.bin/binutils222/cxxfilt/Makefile   |   13 +++++++++----
 gnu/usr.bin/binutils222/elfedit/Makefile   |   13 +++++++++----
 gnu/usr.bin/binutils222/gprof/Makefile     |   13 +++++++++----
 gnu/usr.bin/binutils222/ld/Makefile        |   15 +++++++++------
 gnu/usr.bin/binutils222/nm/Makefile        |   13 +++++++++----
 gnu/usr.bin/binutils222/objcopy/Makefile   |   13 +++++++++----
 gnu/usr.bin/binutils222/objdump/Makefile   |   13 +++++++++----
 gnu/usr.bin/binutils222/ranlib/Makefile    |   13 +++++++++----
 gnu/usr.bin/binutils222/readelf/Makefile   |   13 +++++++++----
 gnu/usr.bin/binutils222/size/Makefile      |   13 +++++++++----
 gnu/usr.bin/binutils222/strings/Makefile   |   13 +++++++++----
 gnu/usr.bin/binutils222/strip/Makefile     |   13 +++++++++----
 36 files changed, 305 insertions(+), 115 deletions(-)
 create mode 100644 gnu/usr.bin/Makefile.buo
 create mode 100644 gnu/usr.bin/binutils221/Makefile.inc1
 create mode 100644 gnu/usr.bin/binutils222/Makefile.inc1

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/31468d702ff67ca49b120f946387228cf72df1ff


-- 
DragonFly BSD source repository





More information about the Commits mailing list