chiark / gitweb /
cprogs: Cross-build (by building with dh_auto_build)
authorHelmut Grohne <helmut@subdivi.de>
Sun, 21 Aug 2022 22:59:59 +0000 (23:59 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 21 Aug 2022 23:18:16 +0000 (00:18 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/rules

index 695bb683347ff553b70fd4a6ccdd01f82ccd7891..403c7285ddb84a93c5cdee77844b2f7ae8a3e2e9 100755 (executable)
@@ -21,7 +21,7 @@ makebuildargs := OPTIMISE= DEBUG= \
 build:
        $(checkdir)
        set -e; for s in $(subdirs_build_arch); do \
-               $(MAKE) -C $$s all $(makebuildargs); \
+               dh_auto_build --sourcedirectory=$$s -- all $(makebuildargs); \
        done
        touch build