Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
5a640efd
Commit
5a640efd
authored
Nov 12, 2012
by
Mike Gabriel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix /bin/Makefile. Add $(DESTDIR) to every install path.
parent
9e8a2792
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
10 deletions
+13
-10
changelog
debian/changelog
+2
-1
001_add-main-makefile.full+lite.patch
debian/patches/001_add-main-makefile.full+lite.patch
+11
-9
No files found.
debian/changelog
View file @
5a640efd
nx-libs (2:3.5.0.17-0) UNRELEASED; urgency=low
* Continue development...
[ Jan Engelhardt ]
* Fix /bin/Makefile. Add $(DESTDIR) to every install path.
-- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Wed, 07 Nov 2012 21:14:23 +0100
...
...
debian/patches/001_add-main-makefile.full+lite.patch
View file @
5a640efd
...
...
@@ -59,7 +59,7 @@ Last-Update: 2011-12-31
+ fi
--- /dev/null
+++ b/bin/Makefile
@@ -0,0 +1,
29
@@
@@ -0,0 +1,
31
@@
+#!/usr/bin/make -f
+
+INSTALL_DIR=install -d -o root -g root -m 755
...
...
@@ -79,13 +79,15 @@ Last-Update: 2011-12-31
+ echo "Nothing to do for $@..."
+
+install:
+ $(INSTALL_DIR) $(X2GOLIBDIR)/bin/
+ ln -sf $(NXLIBDIR)/bin/nxagent $(X2GOLIBDIR)/bin/x2goagent
+ find nx* | while read file; do $(INSTALL_PROGRAM) $$file $(BINDIR)/; done
+ find x2go* | while read file; do $(INSTALL_PROGRAM) $$file $(BINDIR)/; done
+ mkdir -p $(DESTDIR)$(X2GOLIBDIR)/bin
+ $(INSTALL_DIR) $(DESTDIR)$(X2GOLIBDIR)/bin/
+ ln -sf $(NXLIBDIR)/bin/nxagent $(DESTDIR)$(X2GOLIBDIR)/bin/x2goagent
+ mkdir -p $(DESTDIR)$(BINDIR)
+ find nx* | while read file; do $(INSTALL_PROGRAM) $$file $(DESTDIR)$(BINDIR)/; done
+ find x2go* | while read file; do $(INSTALL_PROGRAM) $$file $(DESTDIR)$(BINDIR)/; done
+
+uninstall:
+ find nx* | while read file; do rm -f $(BINDIR)/$$file; done
+ find x2go* | while read file; do rm -f $(BINDIR)/$$file; done
+ $(RM_FILE) $(X2GOLIBDIR)/bin/x2goagent
+ $(RM_DIR) $(X2GOLIBDIR)/bin/
+ find nx* | while read file; do rm -f $(
DESTDIR)$(
BINDIR)/$$file; done
+ find x2go* | while read file; do rm -f $(
DESTDIR)$(
BINDIR)/$$file; done
+ $(RM_FILE) $(
DESTDIR)$(
X2GOLIBDIR)/bin/x2goagent
+ $(RM_DIR) $(
DESTDIR)$(
X2GOLIBDIR)/bin/
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