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
58615f9f
Commit
58615f9f
authored
Nov 10, 2018
by
Ulrich Sibiller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Makefile: use (more) RM macros
parent
77b39231
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
Makefile
Makefile
+7
-6
No files found.
Makefile
View file @
58615f9f
...
...
@@ -14,6 +14,7 @@ SYMLINK_FILE=ln -f -s
# helpers for "clean" and "uninstall" targets
RM_FILE
=
rm
-f
RM_DIR
=
rmdir
-p
--ignore-fail-on-non-empty
RM_DIR_REC
=
rm
-Rf
ETCDIR_NX
?=
/etc/nxagent
PREFIX
?=
/usr/local
...
...
@@ -74,9 +75,9 @@ distclean: clean
if
test
-f
nxcompshad/Makefile
;
then
${
MAKE
}
-C
nxcompshad distclean
;
fi
if
test
-d
nx-X11
;
then
${
MAKE
}
-C
nx-X11 distclean
;
fi
if
[
-x
./mesa-quilt
]
;
then
./mesa-quilt pop
-a
;
fi
rm
-Rf
nx-X11/extras/Mesa/.pc/
rm
-f
nx-X11/config/cf/nxversion.def
rm
-f
nx-X11/config/cf/nxconfig.def
$(RM_DIR_REC)
nx-X11/extras/Mesa/.pc/
$(RM_FILE)
nx-X11/config/cf/nxversion.def
$(RM_FILE)
nx-X11/config/cf/nxconfig.def
test
:
echo
"No testing for NX (redistributed)"
...
...
@@ -205,7 +206,7 @@ install-full:
gzip
$(DESTDIR)$(PREFIX)/share/man/man1/*.1
# create a clean nx-X11/.build-exports space
rm
-Rf
nx-X11/.build-exports
$(RM_DIR_REC)
nx-X11/.build-exports
mkdir
-p
nx-X11/.build-exports/include
mkdir
-p
nx-X11/.build-exports/lib
...
...
@@ -263,5 +264,5 @@ uninstall-full:
$(RM_FILE)
$(DESTDIR)$(PREFIX)/share/nx/VERSION.nxagent
$(RM_DIR)
$(DESTDIR)$(PREFIX)/share/nx/
if
test
-d
$(DESTDIR)$(NXLIBDIR);
then
rm
-rf
$(DESTDIR)$(NXLIBDIR);
fi
if
test
-d
$(DESTDIR)$(INCLUDEDIR)/nx;
then
rm
-rf
$(DESTDIR)$(INCLUDEDIR)/nx;
fi
$(RM_DIR_REC)
$(DESTDIR)$(NXLIBDIR)
$(RM_DIR_REC)
$(DESTDIR)$(INCLUDEDIR)/nx
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