Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
PureOS
Packages
qemu
Commits
0527131c
Commit
0527131c
authored
Jun 30, 2018
by
Michael Tokarev
Browse files
simplify d/rules just a little bit
parent
f21b7895
Changes
1
Hide whitespace changes
Inline
Side-by-side
debian/rules
View file @
0527131c
...
...
@@ -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}
)
endif
touch $@
...
...
@@ -236,22 +236,16 @@ 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 ; \
done
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
for t in ${user_targets}; do \
cp -p b/user-static/$$t-linux-user/qemu-$$t \
debian/qemu-user-static/usr/bin/qemu-$$t-static ; \
ln -s qemu-user-static.1 \
debian/qemu-user-static/usr/share/man/man1/qemu-$$t-static.1 ; \
cp -p b/user-static/$$t-linux-user/qemu-$$t \
debian/qemu-user-static/usr/bin/qemu-$$t-static ; \
ln -s qemu-user-static.1 \
debian/qemu-user-static/usr/share/man/man1/qemu-$$t-static.1 ; \
done
# binfmt support
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment