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
a93f64e4
Commit
a93f64e4
authored
Nov 10, 2018
by
Ulrich Sibiller
Committed by
Mike Gabriel
Nov 11, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Makefile: use test + && instead of if test/else/fi
parent
58615f9f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
Makefile
Makefile
+16
-16
No files found.
Makefile
View file @
a93f64e4
...
...
@@ -62,19 +62,19 @@ NX_XTRANS_HEADERS = \
all
:
build
clean
:
if
test
-f
nxcomp/Makefile
;
then
${
MAKE
}
-C
nxcomp clean
;
fi
if
test
-f
nxproxy/Makefile
;
then
${
MAKE
}
-C
nxproxy clean
;
fi
if
test
-f
nx-X11/lib/Makefile
;
then
${
MAKE
}
-C
nx-X11/lib clean
;
fi
if
test
-f
nxcompshad/Makefile
;
then
${
MAKE
}
-C
nxcompshad clean
;
fi
if
test
-d
nx-X11
;
then
${
MAKE
}
clean-env
;
fi
test
-f
nxcomp/Makefile
&&
${
MAKE
}
-C
nxcomp clean
test
-f
nxproxy/Makefile
&&
${
MAKE
}
-C
nxproxy clean
test
-f
nx-X11/lib/Makefile
&&
${
MAKE
}
-C
nx-X11/lib clean
test
-f
nxcompshad/Makefile
&&
${
MAKE
}
-C
nxcompshad clean
test
-d
nx-X11
&&
${
MAKE
}
clean-env
distclean
:
clean
if
test
-f
nxcomp/Makefile
;
then
${
MAKE
}
-C
nxcomp distclean
;
fi
if
test
-f
nxproxy/Makefile
;
then
${
MAKE
}
-C
nxproxy distclean
;
fi
if
test
-f
nx-X11/lib/Makefile
;
then
${
MAKE
}
-C
nx-X11/lib distclean
;
fi
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
test
-f
nxcomp/Makefile
&&
${
MAKE
}
-C
nxcomp distclean
test
-f
nxproxy/Makefile
&&
${
MAKE
}
-C
nxproxy distclean
test
-f
nx-X11/lib/Makefile
&&
${
MAKE
}
-C
nx-X11/lib distclean
test
-f
nxcompshad/Makefile
&&
${
MAKE
}
-C
nxcompshad distclean
test
-d
nx-X11
&&
${
MAKE
}
-C
nx-X11 distclean
test
-x
./mesa-quilt
&&
./mesa-quilt pop
-a
$(RM_DIR_REC)
nx-X11/extras/Mesa/.pc/
$(RM_FILE)
nx-X11/config/cf/nxversion.def
$(RM_FILE)
nx-X11/config/cf/nxconfig.def
...
...
@@ -140,7 +140,7 @@ clean-env: version
${MAKE}
-j1
-C
nx-X11
clean
IMAKE_DEFINES
=
"
$(IMAKE_DEFINES)
"
build-lite
:
cd
nxcomp
&&
autoreconf
-vfsi
&&
(
${
CONFIGURE
}
)
&&
${
MAKE
}
cd
nxcomp
&&
autoreconf
-vfsi
&&
(
${
CONFIGURE
}
)
&&
${
MAKE
}
cd
nxproxy
&&
autoreconf
-vfsi
&&
(
${
CONFIGURE
}
)
&&
${
MAKE
}
build-full
:
build-env
...
...
@@ -249,15 +249,15 @@ uninstall:
[
!
-d
nx-X11
]
||
$(MAKE)
uninstall-full
uninstall-lite
:
if
test
-f
nxcomp/Makefile
;
then
${
MAKE
}
-C
nxcomp
"
$@
"
;
fi
if
test
-f
nxproxy/Makefile
;
then
${
MAKE
}
-C
nxproxy
"
$@
"
;
fi
test
-f
nxcomp/Makefile
&&
${
MAKE
}
-C
nxcomp
"
$@
"
test
-f
nxproxy/Makefile
&&
${
MAKE
}
-C
nxproxy
"
$@
"
$(RM_FILE)
$(DESTDIR)$(PREFIX)/share/nx/VERSION.nxproxy
$(RM_DIR)
$(DESTDIR)$(PREFIX)/share/nx/
uninstall-full
:
if
test
-f
nxcompshad/Makefile
;
then
${
MAKE
}
-C
nxcompshad
"
$@
"
;
fi
if
test
-f
nx-X11/lib/Makefile
;
then
${
MAKE
}
-C
nx-X11/lib
"
$@
"
;
fi
test
-f
nxcompshad/Makefile
&&
${
MAKE
}
-C
nxcompshad
"
$@
"
test
-f
nx-X11/lib/Makefile
&&
${
MAKE
}
-C
nx-X11/lib
"
$@
"
$(RM_FILE)
$(DESTDIR)$(BINDIR)/nxagent
...
...
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