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
236ee4ff
Commit
236ee4ff
authored
Feb 09, 2015
by
Mike Gabriel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nxcomp*, nxproxy: Fix clean-up of source tree via Makefile.in templates.
024_fix-make-clean.full.patch 024_fix-make-clean.full+lite.patch
parent
9b72eeaa
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
12 additions
and
78 deletions
+12
-78
024_fix-make-clean.full+lite.patch
debian/patches/024_fix-make-clean.full+lite.patch
+0
-19
024_fix-make-clean.full.patch
debian/patches/024_fix-make-clean.full.patch
+0
-51
series
debian/patches/series
+0
-2
Makefile
nx-X11/Makefile
+8
-2
Makefile.in
nxcomp/Makefile.in
+1
-1
Makefile.in
nxcompext/Makefile.in
+1
-1
Makefile.in
nxcompshad/Makefile.in
+1
-1
Makefile.in
nxproxy/Makefile.in
+1
-1
No files found.
debian/patches/024_fix-make-clean.full+lite.patch
deleted
100644 → 0
View file @
9b72eeaa
Description: fix clean rule in nxcomp's Makefile.in
Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
--- a/nxcomp/Makefile.in
+++ b/nxcomp/Makefile.in
@@ -313,4 +313,4 @@
distclean: clean
-rm -rf autom4te.cache config.status config.log \
- config.cache depend.status Makefile tags
+ config.cache depend.status Makefile tags configure
--- a/nxproxy/Makefile.in
+++ b/nxproxy/Makefile.in
@@ -109,4 +109,4 @@
$(PROGRAM) $(PROGRAM).exe $(LIBFULL) $(LIBLOAD) $(LIBSHARED) $(LIBARCHIVE)
distclean: clean
- -rm -f config.status config.log config.cache depend.status Makefile tags
+ -rm -rf autom4te.cache config.status config.log config.cache depend.status Makefile tags configure
debian/patches/024_fix-make-clean.full.patch
deleted
100644 → 0
View file @
9b72eeaa
Description: Provide main Makefile for whole source tree
By design this patch is not needed to be sent upstream.
Forwarded: not-needed
Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Last-Update: 2012-10-19
--- a/nx-X11/Makefile
+++ b/nx-X11/Makefile
@@ -138,6 +138,7 @@
xmakefile: Imakefile
$(RM) xmakefile
+ @rm -f $(IRULESRC)/date.def; echo "" > $(IRULESRC)/date.def;
$(IMAKE_CMD) -s xmakefile -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
World.Win32:
@@ -197,11 +198,16 @@
# a copy of every rule that might be invoked at top level
clean:
- $(MAKE_CMD) $@
+ -$(MAKE_CMD) $@
+ find config -type f | egrep '.*/Makefile$$' | while read makefile; do rm -f $$makefile; done
+ find lib -type f | egrep '.*/Makefile$$' | while read makefile; do rm -f $$makefile; done
+ find programs -type f | egrep '.*/Makefile$$' | while read makefile; do rm -f $$makefile; done
+ find include -type f | egrep '.*/Makefile$$' | while read makefile; do rm -f $$makefile; done
+ rm -f config/cf/{version.def,date.def}
dangerous_strip_clean:
$(MAKE_CMD) $@
distclean:
- $(MAKE_CMD) $@
+ -$(MAKE_CMD) $@
$(RM) xmakefile $(IRULESRC)/version.def $(IRULESRC)/date.def
depend:
$(MAKE_CMD) $@
--- a/nxcompext/Makefile.in
+++ b/nxcompext/Makefile.in
@@ -185,5 +185,5 @@
@ALL@
distclean: clean
- -rm -rf autom4te.cache config.status config.log \
+ -rm -rf autom4te.cache config.status config.log configure \
config.cache depend.status Makefile tags
--- a/nxcompshad/Makefile.in
+++ b/nxcompshad/Makefile.in
@@ -222,4 +222,4 @@
$(LIBFULL) $(LIBLOAD) $(LIBSHARED) $(LIBARCHIVE) $(LIBDLL) $(LIBDLLSTATIC) $(PROGRAM) $(PROGRAM).exe
distclean: clean
- -rm -rf config.status config.log config.cache depend.status Makefile tags autom4te.cache
+ -rm -rf config.status config.log config.cache depend.status Makefile tags autom4te.cache configure
debian/patches/series
View file @
236ee4ff
024_fix-make-clean.full.patch
024_fix-make-clean.full+lite.patch
025_nxcomp-fix-ftbfs-against-jpeg9a.full+lite.patch
026_nxcompext_honour-optflags.full.patch
026_nxcomp_honour-optflags.full+lite.patch
...
...
nx-X11/Makefile
View file @
236ee4ff
...
...
@@ -138,6 +138,7 @@ Makefile::
xmakefile
:
Imakefile
$(RM)
xmakefile
@
rm
-f
$(IRULESRC)
/date.def
;
echo
""
>
$(IRULESRC)
/date.def
;
$(IMAKE_CMD)
-s
xmakefile
-DTOPDIR
=
$(TOP)
-DCURDIR
=
$(CURRENT_DIR)
World.Win32
:
...
...
@@ -197,11 +198,16 @@ World.OS2:
# a copy of every rule that might be invoked at top level
clean
:
$(MAKE_CMD)
$@
-
$(MAKE_CMD)
$@
find config
-type
f | egrep
'.*/Makefile$$'
|
while
read
makefile
;
do
rm
-f
$$
makefile
;
done
find lib
-type
f | egrep
'.*/Makefile$$'
|
while
read
makefile
;
do
rm
-f
$$
makefile
;
done
find programs
-type
f | egrep
'.*/Makefile$$'
|
while
read
makefile
;
do
rm
-f
$$
makefile
;
done
find include
-type
f | egrep
'.*/Makefile$$'
|
while
read
makefile
;
do
rm
-f
$$
makefile
;
done
rm
-f
config/cf/
{
version.def,date.def
}
dangerous_strip_clean
:
$(MAKE_CMD)
$@
distclean
:
$(MAKE_CMD)
$@
-
$(MAKE_CMD)
$@
$(RM)
xmakefile
$(IRULESRC)
/version.def
$(IRULESRC)
/date.def
depend
:
$(MAKE_CMD)
$@
...
...
nxcomp/Makefile.in
View file @
236ee4ff
...
...
@@ -313,4 +313,4 @@ clean:
distclean
:
clean
-
rm
-rf
autom4te.cache config.status config.log
\
config.cache depend.status Makefile tags
config.cache depend.status Makefile tags
configure
nxcompext/Makefile.in
View file @
236ee4ff
...
...
@@ -185,5 +185,5 @@ clean:
@ALL@
distclean
:
clean
-
rm
-rf
autom4te.cache config.status config.log
\
-
rm
-rf
autom4te.cache config.status config.log
configure
\
config.cache depend.status Makefile tags
nxcompshad/Makefile.in
View file @
236ee4ff
...
...
@@ -222,4 +222,4 @@ clean:
$(LIBFULL)
$(LIBLOAD)
$(LIBSHARED)
$(LIBARCHIVE)
$(LIBDLL)
$(LIBDLLSTATIC)
$(PROGRAM)
$(PROGRAM)
.exe
distclean
:
clean
-
rm
-rf
config.status config.log config.cache depend.status Makefile tags autom4te.cache
-
rm
-rf
config.status config.log config.cache depend.status Makefile tags autom4te.cache
configure
nxproxy/Makefile.in
View file @
236ee4ff
...
...
@@ -109,4 +109,4 @@ clean:
$(PROGRAM)
$(PROGRAM)
.exe
$(LIBFULL)
$(LIBLOAD)
$(LIBSHARED)
$(LIBARCHIVE)
distclean
:
clean
-
rm
-
f
config.status config.log config.cache depend.status Makefile tags
-
rm
-
rf
autom4te.cache config.status config.log config.cache depend.status Makefile tags configure
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