Commit 0527131c authored by Michael Tokarev's avatar Michael Tokarev
Browse files

simplify d/rules just a little bit

parent f21b7895
......@@ -132,7 +132,7 @@ endif
ifeq ($(enable_linux_user),enable)
# user-static build
# we use this invocation to build just the binaries
$(MAKE) -C b/user-static V=${V} $(foreach t,${user_targets},subdir-${t}-linux-user)
$(MAKE) -C b/user-static V=${V} $(patsubst %,subdir-%-linux-user,${user_targets})
touch $@
......@@ -236,14 +236,8 @@ endif # linux
endif # enable_system
ifeq ($(enable_linux_user),enable)
# qemu-user
mkdir -p debian/qemu-user/usr/bin debian/qemu-user/usr/share/man/man1
for t in ${user_targets}; do \
mv debian/tmp/usr/bin/qemu-$$t \
debian/qemu-user/usr/bin ; \
ln -s qemu-user.1 \
debian/qemu-user/usr/share/man/man1/qemu-$$t.1 ; \
dh_movefiles -p qemu-user $(patsubst %,usr/bin/qemu-%,${user_targets})
dh_link -p qemu-user $(patsubst %,usr/share/man/man1/qemu-user.1 usr/share/man/man1/qemu-%.1,${user_targets})
# qemu-user-static
mkdir -p debian/qemu-user-static/usr/bin debian/qemu-user-static/usr/share/man/man1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment