Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
purr-data
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rishabh Gupta
purr-data
Commits
b3941a01
Commit
b3941a01
authored
Mar 19, 2018
by
Jonathan Wilkes
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'aggraef/purr-data-makefile-fixes'
parents
12bfbc14
04c85979
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
4 deletions
+15
-4
Makefile
Makefile
+15
-4
No files found.
Makefile
View file @
b3941a01
...
...
@@ -129,14 +129,18 @@ realclean:
# sitting in packages/*/build, so you might as well use that instead).
# Note that these targets simply (un)install whatever is in the
# packages/*/build directory at the time they're invoked, so you need to run
# `make` (or `make incremental`, etc.) first. Also note that some old cruft
# under build/etc (all but the bash auto-completions) isn't installed as it
# isn't needed on modern Linux systems any more.
# packages/*/build directory at the time they're invoked. If no build
# directory is present then nothing will happen, so you need to run `make` (or
# `make incremental`, etc.) before running these targets. Also note that some
# old cruft under build/etc (all but the bash auto-completions) isn't
# installed as it isn't needed on modern Linux systems any more.
builddir
=
$(
firstword
$(
wildcard
packages/
*
/build
))
ifneq
($(builddir),)
manifest
=
etc/bash_completion.d/pd-l2ork
$
(
prefix:/%
=
%
)
/include/pd-l2ork
$
(
prefix:/%
=
%
)
/lib/pd-l2ork
$(
patsubst
$(builddir)
/%,%,
$(
wildcard
$(builddir)
/
$
(
prefix:/%
=
%
)
/bin/
*
)
$(
shell
find
$(builddir)
/usr/share
-type
f
))
endif
ifneq
($(manifest),)
install
:
test
-z
"
$(DESTDIR)
"
||
(
rm
-rf
"
$(DESTDIR)
"
&&
mkdir
-p
"
$(DESTDIR)
"
)
tar
-c
-C
$(builddir)
$(manifest)
|
tar
-x
-C
$(DESTDIR)
/
...
...
@@ -146,6 +150,13 @@ install:
uninstall
:
rm
-rf
$(
addprefix
$(DESTDIR)
/,
$(manifest)
)
else
install
:
@
echo
"no build directory, run make first"
&&
false
uninstall
:
@
echo
"no build directory, run make first"
&&
false
endif
# Build a self-contained distribution tarball (snapshot). This is pretty much
# the same as in debuild/Makefile and must be run in a working copy of the git
...
...
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