Skip to contentSkip to conversation

debian: cleanup configure invocation

PATCH Applied Gernot Hillier 2 participants 2 messages Aug 22, 2013 – Aug 25, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 debian: cleanup configure invocation

Remove duplicated testdir setting. This re-adds a useful part of c6264554 reverted in 9445b03a. We shall not override/extend CONFIG_OPTS as it's also used for the package description of libxenomai1 (see binary-arch target).

---
 debian/rules |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
debian/rules +2 -2
index b7a072b..6aad873 100755
@@ -14,7 +14,7 @@ DEB_BUILD_GNU_TYPE=$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 CONFIG_OPTS = --prefix=/usr \
             --includedir=/usr/include/xenomai \
             --mandir=/usr/share/man \
-	    --with-testdir=/usr/lib/xenomai
+	    --with-testdir=/usr/lib/xenomai/testsuite
 
 ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
 	CONFIG_OPTS += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
@@ -46,7 +46,7 @@ config.status: configure-stamp
 configure-stamp:
 	dh_testdir
 	autoreconf -fi
-	./configure $(CONFIG_OPTS) --with-testdir=/usr/lib/xenomai/testsuite
+	./configure $(CONFIG_OPTS)
 	touch configure-stamp
 
 clean:
Signature · 8 lines
1.7.9.5

-- 
Regards,
Gernot Hillier

Siemens AG, Corporate Technology, CT RTC ITP SES-DE
Corporate Competence Center Embedded Linux
#1 lore raw
Quoted 4 lines · Gernot Hillier

Remove duplicated testdir setting. This re-adds a useful part of c6264554 reverted in 9445b03a. We shall not override/extend CONFIG_OPTS as it's also used for the package description of libxenomai1 (see binary-arch target).

Merged, thanks.

Signature · 1 line
                                                                Gilles.