Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
purr-data
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Srashti Mittal
purr-data
Commits
0e616507
Commit
0e616507
authored
4 years ago
by
Albert Gräf
Browse files
Options
Downloads
Patches
Plain Diff
debuild: Make 'make check' work, cosmetic changes.
parent
c4495143
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+3
-3
3 additions, 3 deletions
Makefile
debuild/debian/rules
+5
-3
5 additions, 3 deletions
debuild/debian/rules
with
8 additions
and
6 deletions
Makefile
+
3
−
3
View file @
0e616507
...
@@ -85,8 +85,8 @@ export macos_target = 10.9
...
@@ -85,8 +85,8 @@ export macos_target = 10.9
# Installation prefix under which Pd-l2ork is installed (Linux only). If this
# Installation prefix under which Pd-l2ork is installed (Linux only). If this
# isn't set, a default location will be used (usually /usr/local). NOTE: We
# isn't set, a default location will be used (usually /usr/local). NOTE: We
# *always* assume that this variable is set properly in the install targets
# *always* assume that this variable is set properly in the install targets
,
# (see below).
#
as well as the (Linux) check target
(see below).
prefix
=
/usr
prefix
=
/usr
ifneq
($(prefix),)
ifneq
($(prefix),)
...
@@ -164,7 +164,7 @@ os = $(shell uname|sed 's/^\(MINGW[0-9]*\)_NT.*/\1/')
...
@@ -164,7 +164,7 @@ os = $(shell uname|sed 's/^\(MINGW[0-9]*\)_NT.*/\1/')
ifeq
($(os),Linux)
ifeq
($(os),Linux)
# Linux (all flavors)
# Linux (all flavors)
pdprog
=
packages/linux_make/build
/usr
/bin/pd-l2ork
pdprog
=
packages/linux_make/build
$(
prefix
)
/bin/pd-l2ork
else
ifeq
($(os),Darwin)
else
ifeq
($(os),Darwin)
# Mac
# Mac
pdprog
=
packages/darwin_app/build/
*
.app/Contents/Resources/app.nw/bin/pd-l2ork
pdprog
=
packages/darwin_app/build/
*
.app/Contents/Resources/app.nw/bin/pd-l2ork
...
...
This diff is collapsed.
Click to expand it.
debuild/debian/rules
+
5
−
3
View file @
0e616507
...
@@ -30,14 +30,16 @@ override_dh_auto_configure:
...
@@ -30,14 +30,16 @@ override_dh_auto_configure:
override_dh_auto_clean
:
override_dh_auto_clean
:
# Need to disable this, 'make check' currently fails, probably due to our
# This runs too late, 'make check' then fails, probably due to our meddling
# meddling with the directory layout, executable names, etc.
# with the directory layout, executable names, etc., during 'make install'.
# Instead we invoke 'make check' right after the build, see below.
override_dh_auto_test
:
override_dh_auto_test
:
override_dh_auto_build
:
override_dh_auto_build
:
# Copy the nw.js sources to where purr-data wants them.
# Copy the nw.js sources to where purr-data wants them.
tar
-xf
debian/nwjs/$(nwjspkg)-$(arch).tar.gz
&&
rm
-rf
pd/nw/nw
&&
mv
$(nwjspkg)-$(arch)
pd/nw/nw
tar
-xf
debian/nwjs/$(nwjspkg)-$(arch).tar.gz
&&
rm
-rf
pd/nw/nw
&&
mv
$(nwjspkg)-$(arch)
pd/nw/nw
cd
l2ork_addons
&&
(
export
inst_dir
=
$(
prefix
);
./tar_em_up.sh
-B
-n
)
cd
l2ork_addons
&&
(
export
V
=
0
inst_dir
=
$(
prefix
);
./tar_em_up.sh
-Bn
)
make
check
prefix
=
$(
prefix
)
override_dh_auto_install
:
override_dh_auto_install
:
mkdir
-p
debian/purr-data
&&
mv
packages/linux_make/build/
*
debian/purr-data
mkdir
-p
debian/purr-data
&&
mv
packages/linux_make/build/
*
debian/purr-data
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment