Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
David MacDonald
purr-data
Commits
13a884d6
Commit
13a884d6
authored
Dec 08, 2017
by
Jonathan Wilkes
Browse files
move command so that it only gets evaluated when the rule is fired
parent
f6f996f4
Changes
1
Show whitespace changes
Inline
Side-by-side
packages/linux_make/Makefile
View file @
13a884d6
...
...
@@ -22,8 +22,6 @@ endif
# directory as $(prefix) otherwise Pd won't be able to find extra, doc, etc.
ifeq
($(PACKAGE_TYPE),deb)
prefix
=
/usr
# generates the dependencies for all externals and pd itself
PACKAGE_DEPENDS
:=
$(
shell
find
$(DESTDIR)
\(
-name
"*.pd_linux"
-or
-name
pd-gui
-or
-wholename
\*
bin/pd
\)
-print0
| xargs
-0
dpkg-shlibdeps
-O
|
sed
's|shlibs:Depends=|, |'
)
else
prefix
=
/usr/local
endif
...
...
@@ -160,6 +158,9 @@ deb: debstage
cp
$(packages_src)/linux_make/debian/control
$(DESTDIR)/DEBIAN
cp
$(packages_src)/linux_make/debian/pd-l2ork.postrm
$(DESTDIR)/DEBIAN
cp
$(packages_src)/linux_make/debian/pd-l2ork.postinst
$(DESTDIR)/DEBIAN
# generate the dependencies for all externals and pd itself
$(eval PACKAGE_DEPENDS
:
= $(shell find $(DESTDIR)
\(
-name "*.pd_linux" -or -name pd-gui -or -wholename
\*
bin/pd
\)
-print0 | xargs -0 dpkg-shlibdeps -O | sed 's|shlibs:Depends=|
,
|' ))
# set build architecture and version for the package
sed -i 's|^Version
:
.*|Version: $(DEB_PD_VERSION)|'
\
$(DESTDIR)/DEBIAN/control
...
...
@@ -278,7 +279,7 @@ test_locations:
@
echo
"MANUALSDIR
$(manualsdir)
"
@
echo
"EXAMPLESDIR
$(examplesdir)
"
@
echo
--------------------------------------------------
@
echo
"PACKAGE_DEPENDS
$(PACKAGE_DEPENDS)
"
#
@echo "PACKAGE_DEPENDS $(PACKAGE_DEPENDS)"
@echo
--------------------------------------------------
autoconf
--version
@echo
--------------------------------------------------
...
...
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