summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorAndre Fischer <af@apache.org>2012-06-21 08:26:14 +0000
committerAndre Fischer <af@apache.org>2012-06-21 08:26:14 +0000
commit409a829dcf8ef445f54f6199652961b069487cc0 (patch)
treebfcfece027346b50d6e7f16e7b269b4a728ce675 /comphelper
parent32b7cbf216b86571e19168d2a4213b2c33861ee9 (diff)
Forward debug=<value> argument from build to make.
Notes
ignore: obsolete
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/prj/makefile.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/comphelper/prj/makefile.mk b/comphelper/prj/makefile.mk
index 3c524e65572e..c62c6a657d16 100644
--- a/comphelper/prj/makefile.mk
+++ b/comphelper/prj/makefile.mk
@@ -32,5 +32,13 @@ VERBOSEFLAG :=
VERBOSEFLAG := -s
.ENDIF
+.IF "$(DEBUG)"!=""
+DEBUG_ARGUMENT=DEBUG=$(DEBUG)
+.ELIF "$(debug)"!=""
+DEBUG_ARGUMENT=debug=$(debug)
+.ELSE
+DEBUG_ARGUMENT=
+.ENDIF
+
all:
- cd $(PRJ) && $(GNUMAKE) $(VERBOSEFLAG) -r -j$(MAXPROCESS) $(gb_MAKETARGET) && $(GNUMAKE) $(VERBOSEFLAG) -r deliverlog
+ cd $(PRJ) && $(GNUMAKE) $(VERBOSEFLAG) -r -j$(MAXPROCESS) $(gb_MAKETARGET) $(DEBUG_ARGUMENT) && $(GNUMAKE) $(VERBOSEFLAG) -r deliverlog