Merge r7369 from trunk

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7629 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2018-11-04 03:04:47 +00:00
parent d0c97758a8
commit d22c9b91a2

View File

@@ -502,10 +502,20 @@ dpkg: ../scst_$(VERSION).orig.tar.xz
../scst_$(VERSION)-$(DEBIAN_REVISION)_amd64.changes \
) && \
rm -f "$${output_files[@]}" && \
if false; then \
dpkg-buildpackage -uc -us -ui -jauto; \
buildopts=(-uc -us) && \
if dpkg-buildpackage --help 2>&1 | grep -- '-ui'; then \
buildopts+=(-ui); \
fi && \
if dpkg-buildpackage --help 2>&1 | \
grep -q -- '--jobs\[=<number>|auto\]'; then \
buildopts+=(-jauto); \
else \
debuild -uc -us -ui -jauto --lintian-opts --profile debian; \
buildopts+=(-j4); \
fi && \
if false; then \
dpkg-buildpackage "$${buildopts[@]}"; \
else \
debuild "$${buildopts[@]}" --lintian-opts --profile debian; \
fi && \
mkdir -p dpkg && \
for f in "$${output_files[@]}" ../scst_$(VERSION).orig.tar.xz; do\