Ver código fonte

dpkg-buildflags(1): drop the quotes when setting DEB_BUILD_MAINT_OPTIONS

DEB_BUILD_MAINT_OPTIONS is usually set in a Makefile and make puts the
quotes in the variable value (i.e. it doesn't use them to delimit the
value). This is obviously not wanted so let's fix the examples.
Raphaël Hertzog 15 anos atrás
pai
commit
570886809e
2 arquivos alterados com 4 adições e 2 exclusões
  1. 2 0
      debian/changelog
  2. 2 2
      man/dpkg-buildflags.1

+ 2 - 0
debian/changelog

@@ -4,6 +4,8 @@ dpkg (1.16.1.1) UNRELEASED; urgency=low
     for unrecorded changes.
     for unrecorded changes.
   * Let dpkg-source --commit create debian/patches when required.
   * Let dpkg-source --commit create debian/patches when required.
   * Fix dpkg-buildflags --dump to return 0 as exit code and not 1.
   * Fix dpkg-buildflags --dump to return 0 as exit code and not 1.
+  * Update dpkg-buildflags(1) to not include quotes in the examples
+    setting DEB_BUILD_MAINT_OPTIONS.
 
 
  -- Raphaël Hertzog <hertzog@debian.org>  Tue, 27 Sep 2011 08:15:51 +0200
  -- Raphaël Hertzog <hertzog@debian.org>  Tue, 27 Sep 2011 08:15:51 +0200
 
 

+ 2 - 2
man/dpkg-buildflags.1

@@ -175,13 +175,13 @@ value with the "+" and "\-" modifier. For example, to enable the
 "pie" feature and disable the "fortify" feature you can do this
 "pie" feature and disable the "fortify" feature you can do this
 in \fBdebian/rules\fP:
 in \fBdebian/rules\fP:
 .P
 .P
-  export DEB_BUILD_MAINT_OPTIONS="hardening=+pie,\-fortify"
+  export DEB_BUILD_MAINT_OPTIONS=hardening=+pie,\-fortify
 .P
 .P
 The special feature \fBall\fP can be used to enable or disable all
 The special feature \fBall\fP can be used to enable or disable all
 hardening features at the same time. Thus disabling everything and
 hardening features at the same time. Thus disabling everything and
 enabling only "format" and "fortify" can be achieved with:
 enabling only "format" and "fortify" can be achieved with:
 .P
 .P
-  export DEB_BUILD_MAINT_OPTIONS="hardening=\-all,+format,+fortify"
+  export DEB_BUILD_MAINT_OPTIONS=hardening=\-all,+format,+fortify
 .
 .
 .TP
 .TP
 .B format
 .B format