~ubuntu-branches/ubuntu/precise/xerces-c/precise-security

« back to all changes in this revision

Viewing changes to config/pretty-make

  • Committer: Bazaar Package Importer
  • Author(s): Jay Berkenbilt
  • Date: 2010-02-06 16:46:23 UTC
  • mfrom: (2.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20100206164623-xbntkcs6ks20nboa
Tags: 3.1.0-1
* New upstream release
* Updated standards version to 3.8.4.  No changes required.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#       This script helps in pretty-printing of build commands.
23
23
#       We invoke it via overridden rules in Makefile.am
24
24
#
25
 
# $Id: pretty-make 470092 2006-11-01 20:40:16Z amassari $
 
25
# $Id: pretty-make 904065 2010-01-28 12:31:53Z borisk $
26
26
#
27
27
 
28
28
# Grab the action (what we're doing)
36
36
# problems, and may not be reliable across all compilers. Given the
37
37
# dependencies, this is usually the last argument, but sometimes libtool
38
38
# adds additional flags, which throws this off. So we look
39
 
# for the last arg that doesn't start with -.
 
39
# for the last arg that doesn't start with - or + (HP aCC style).
40
40
while [ $# -gt 0 ]; do
41
41
        case ${1} in
42
42
        -*)
43
43
                ;;
 
44
        +*)
 
45
                ;;
44
46
        *)
45
47
                target=$1
46
48
                ;;