Explorar o código

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 %!s(int64=15) %!d(string=hai) anos
pai
achega
570886809e
Modificáronse 2 ficheiros con 4 adicións e 2 borrados
  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.
   * Let dpkg-source --commit create debian/patches when required.
   * 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
 

+ 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
 in \fBdebian/rules\fP:
 .P
-  export DEB_BUILD_MAINT_OPTIONS="hardening=+pie,\-fortify"
+  export DEB_BUILD_MAINT_OPTIONS=hardening=+pie,\-fortify
 .P
 The special feature \fBall\fP can be used to enable or disable all
 hardening features at the same time. Thus disabling everything and
 enabling only "format" and "fortify" can be achieved with:
 .P
-  export DEB_BUILD_MAINT_OPTIONS="hardening=\-all,+format,+fortify"
+  export DEB_BUILD_MAINT_OPTIONS=hardening=\-all,+format,+fortify
 .
 .TP
 .B format