projects
/
navit-package
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fdcd69
)
Only run make distclean if there's a Makefile.
author
Bernd Zeimetz
<bernd@bzed.de>
Sat, 23 Aug 2008 15:11:00 +0000
(17:11 +0200)
committer
Bernd Zeimetz
<bernd@bzed.de>
Sat, 23 Aug 2008 15:11:00 +0000
(17:11 +0200)
debian/rules
patch
|
blob
|
history
diff --git
a/debian/rules
b/debian/rules
index
8b65de8
..
d90d3a9
100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-60,7
+60,7
@@
clean-patched:
rm -f build-stamp
# Add here commands to clean up after the build process.
- $(MAKE) distclean
+ [ ! -f Makefile ] || $(MAKE) distclean
find $(CURDIR) -name Makefile.in -print0 | xargs -0 rm -f
find $(CURDIR)/intl -mindepth 1 -name VERSION -o -type f -print0 | xargs -0 rm -f
find $(CURDIR)/po -mindepth 1 -name '*.po' -o -name Makefile.am -o -print0 | xargs -0 rm -f