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
300bafb1
Commit
300bafb1
authored
Dec 15, 2012
by
Reinhard Tartler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
integrate install and uninstall rules into the top-level Makefile
parent
978aaa0a
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
64 additions
and
23 deletions
+64
-23
Makefile.nx-libs
debian/Makefile.nx-libs
+41
-2
changelog
debian/changelog
+2
-0
libnx-mesa-extras-dev.install
debian/libnx-mesa-extras-dev.install
+3
-3
nxauth.install
debian/nxauth.install
+2
-2
nxproxy.install
debian/nxproxy.install
+2
-3
roll-tarballs.sh
debian/roll-tarballs.sh
+1
-0
rules
debian/rules
+6
-4
x2goagent.dirs
debian/x2goagent.dirs
+2
-3
x2goagent.install
debian/x2goagent.install
+5
-5
x2goagent.links
debian/x2goagent.links
+0
-1
No files found.
debian/Makefile.nx-libs
View file @
300bafb1
#!/usr/bin/make -f
INSTALL_DIR
=
install
-d
-m
755
INSTALL_FILE
=
install
-m
644
INSTALL_PROGRAM
=
install
-m
755
RM_FILE
=
rm
-f
RM_DIR
=
rmdir
-p
--ignore-fail-on-non-empty
PREFIX
?=
/usr/local
BINDIR
=
$(PREFIX)
/bin
NXLIBDIR
=
$(PREFIX)
/lib/nx
X2GOLIBDIR
=
$(PREFIX)
/lib/x2go
CONFIGURE
=
./configure
%
:
if
test
-f
bin/Makefile
;
then
${
MAKE
}
-C
bin
$@
;
fi
if
test
-f
nxcomp/Makefile
;
then
${
MAKE
}
-C
nxcomp
$@
;
fi
if
test
-f
nxproxy/Makefile
;
then
${
MAKE
}
-C
nxproxy
$@
;
fi
if
test
-d
nx-X11
;
then
\
...
...
@@ -37,8 +45,39 @@ build:
${
MAKE
}
build-full
;
\
fi
install
:
$(INSTALL_DIR)
$(DESTDIR)$(BINDIR)
for
f
in
nxagent nxauth nxproxy x2goagent
;
do
\
$(INSTALL_PROGRAM)
bin/
$$
f
$(DESTDIR)$(BINDIR)
;
done
for
d
in
nxcomp nxproxy
;
do
\
$(MAKE)
-C
$$
d
install
;
done
[
!
-d
nx-X11
]
||
for
d
in
nxcompext nxcompshad
;
do
\
$(MAKE)
-C
$$
d
install
;
done
$(INSTALL_DIR)
$(DESTDIR)$(X2GOLIBDIR)
/bin/
cd
$(DESTDIR)$(X2GOLIBDIR)
/bin/
&&
ln
-sf
../../nx/bin/nxagent x2goagent
$(INSTALL_DIR)
$(DESTDIR)$(PREFIX)
/share/pixmaps
$(INSTALL_FILE)
nx-X11/programs/Xserver/hw/nxagent/x2go.xpm
$(DESTDIR)$(PREFIX)
/share/pixmaps
$(INSTALL_DIR)
$(DESTDIR)$(PREFIX)
/share/x2go
$(INSTALL_FILE)
rgb
$(DESTDIR)$(PREFIX)
/share/x2go
$(INSTALL_DIR)
$(DESTDIR)$(PREFIX)
/share/x2go/versions
$(INSTALL_FILE)
VERSION.x2goagent
$(DESTDIR)$(PREFIX)
/share/x2go/versions
$(INSTALL_DIR)
$(DESTDIR)$(NXLIBDIR)
/bin
$(INSTALL_PROGRAM)
nx-X11/programs/nxauth/nxauth
$(DESTDIR)$(NXLIBDIR)
/bin
$(INSTALL_PROGRAM)
nxproxy/nxproxy
$(DESTDIR)$(NXLIBDIR)
/bin
$(INSTALL_DIR)
$(DESTDIR)$(PREFIX)
/include/nx/extras/Mesa/GL/internal
$(INSTALL_FILE)
nx-X11/extras/Mesa/include/GL/
*
.h
\
$(DESTDIR)$(PREFIX)
/include/nx/extras/Mesa/GL/
$(INSTALL_FILE)
nx-X11/extras/Mesa/include/GL/internal/
*
.h
\
$(DESTDIR)$(PREFIX)
/include/nx/extras/Mesa/GL/internal/
$(INSTALL_DIR)
$(DESTDIR)$(PREFIX)
/include/nx/extras/Mesa/GLES/
$(INSTALL_FILE)
nx-X11/extras/Mesa/include/GLES/
*
.h
\
$(DESTDIR)$(PREFIX)
/include/nx/extras/Mesa/GLES/
uninstall
:
if
test
-f
bin/Makefile
;
then
${
MAKE
}
-C
bin
$@
;
fi
for
f
in
nxagent nxauth nxproxy x2goagent
;
do
\
$(RM_FILE)
$(DESTDIR)$(BINDIR)
/
$$
f
;
done
$(RM_FILE)
$(DESTDIR)$(X2GOLIBDIR)
/bin/x2goagent
$(RM_DIR)
$(DESTDIR)$(X2GOLIBDIR)
/bin/
if
test
-f
nxcomp/Makefile
;
then
${
MAKE
}
-C
nxcomp
$@
;
fi
if
test
-f
nxproxy/Makefile
;
then
${
MAKE
}
-C
nxproxy
$@
;
fi
if
test
-d
nx-X11
;
then
\
...
...
debian/changelog
View file @
300bafb1
...
...
@@ -39,6 +39,8 @@ nx-libs (2:3.5.0.17-0) UNRELEASED; urgency=low
* Update 031_nx-X11_parallel-make.full.patch. Add an explicit dependency
from the NX libX11.so to the nxcomp libraries. Unbreaks parallel builds.
(Fixes: #87).
* Fix and greatly enhance the top-level install and uninstall target for
plain makefile installs.
-- Reinhard Tartler <siretart@tauware.de> Sat, 15 Dec 2012 14:29:12 +0100
...
...
debian/libnx-mesa-extras-dev.install
View file @
300bafb1
nx
-
X11
/
extras
/
Mesa
/
include
/
GL
/*.
h
usr
/
include
/
nx
/
extras
/
Mesa
/
GL
/
nx
-
X11
/
extras
/
Mesa
/
include
/
GL
/
internal
/*.
h
usr
/
include
/
nx
/
extras
/
Mesa
/
GL
/
internal
/
nx
-
X11
/
extras
/
Mesa
/
include
/
GLES
/*.
h
usr
/
include
/
nx
/
extras
/
Mesa
/
GLES
/
usr
/
include
/
nx
/
extras
/
Mesa
/
GL
/
usr
/
include
/
nx
/
extras
/
Mesa
/
GL
/
internal
/
usr
/
include
/
nx
/
extras
/
Mesa
/
GLES
/
debian/nxauth.install
View file @
300bafb1
nx
-
X11
/
programs
/
nxauth
/
nxauth
usr
/
lib
/
nx
/
bin
bin
/
nxauth
usr
/
bin
usr
/
lib
/
nx
/
bin
/
nxauth
usr
/
bin
/
nxauth
debian/nxproxy.install
View file @
300bafb1
nxproxy
/
nxproxy
usr
/
lib
/
nx
/
bin
bin
/
nxproxy
usr
/
bin
usr
/
lib
/
nx
/
bin
/
nxproxy
usr
/
bin
/
nxproxy
debian/roll-tarballs.sh
View file @
300bafb1
...
...
@@ -86,6 +86,7 @@ if [ "x$MODE" = "xfull" ]; then
cp
-v
$file
doc/applied-patches
echo
${
file
##*/
}
>>
doc/applied-patches/series
done
cp
-v
debian/rgb debian/VERSION.x2goagent
.
else
rm
-Rf
"nxcompshad"
*
rm
-Rf
"nxcompext"
*
...
...
debian/rules
View file @
300bafb1
...
...
@@ -20,10 +20,12 @@ override_dh_clean:
rm -f nx*/changelog
rm -f nx-X11/programs/Xserver/hw/nxagent/changelog
rm -f nx-X11/programs/nxauth/changelog
rm -f Makefile
rm -f bin
rm -f Makefile bin rgb VERSION.x2goagent
dh_clean
override_dh_auto_install:
PREFIX=/usr dh_auto_install -Smakefile
override_dh_auto_build:
# create copies of upstream changelogs so that names apply to Debian policy...
cp -a nx-X11/CHANGELOG nx-X11/changelog
...
...
@@ -35,10 +37,10 @@ override_dh_auto_build:
cp -a nxproxy/CHANGELOG nxproxy/changelog
ln -s debian/Makefile.nx-libs Makefile
ln -s debian/wrappers bin
ln -s debian/rgb
ln -s debian/VERSION.x2goagent
LD_LIBRARY_PATH=`pwd`/debian/libnx-x11/usr/lib/nx/X11:$$LD_LIBRARY_PATH dh_auto_build --with quilt --parallel
debian/post-build-nx.sh
override_dh_auto_install:
override_dh_strip:
dh_strip --dbg-package=nx-x11-dbg
debian/x2goagent.dirs
View file @
300bafb1
usr/bin
usr/lib/nx
usr/share/x2go
\ No newline at end of file
usr/share/pixmaps
usr/share/x2go
debian/x2goagent.install
View file @
300bafb1
bin
/
x2goagent
usr
/
bin
debian
/
rgb
usr
/
share
/
x2go
nx
-
X11
/
programs
/
Xserver
/
hw
/
nxagent
/
x2go
.
xpm
usr
/
share
/
pixmaps
debian
/
VERSION
.
x2goagent
usr
/
share
/
x2go
/
versions
\ No newline at end of file
usr
/
bin
/
x2goagent
usr
/
lib
/
x2go
/
bin
/
x2goagent
usr
/
share
/
pixmaps
/
x2go
.
xpm
usr
/
share
/
x2go
/
rgb
usr
/
share
/
x2go
/
versions
/
VERSION
.
x2goagent
debian/x2goagent.links
deleted
100644 → 0
View file @
978aaa0a
usr/lib/nx/bin/nxagent usr/lib/x2go/bin/x2goagent
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