epic-ts
[projects.git] / tools / make / rules
index 33e72e3..d526237 100755 (executable)
@@ -63,7 +63,7 @@ debian/tmp/DEBIAN/control: debian/control debian/changelog
        dpkg-gencontrol
 
 debian/control: debian/$(paket).control
-       cp debian/$(paket).control debian/control
+       sed "s/_DEB_HOST_ARCH/${DEB_HOST_ARCH}/" debian/$(paket).control >> debian/control
 
 debian/changelog: debian/$(paket).changelog debian/rules.pre
        sed "s/%BUILD%/$(build)/" debian/$(paket).changelog > debian/changelog