projects
/
onis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1c354b5
)
Corrected patching behavior
author
octo
<octo>
Thu, 21 Apr 2005 07:03:41 +0000
(07:03 +0000)
committer
octo
<octo>
Thu, 21 Apr 2005 07:03:41 +0000
(07:03 +0000)
debian/rules
patch
|
blob
|
history
diff --git
a/debian/rules
b/debian/rules
index
d8941f6
..
fc3dc45
100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-26,7
+26,11
@@
configure-stamp:
# Add here commands to configure the package.
find . -type d -name '.svn' | xargs rm -rfv
# Add here commands to configure the package.
find . -type d -name '.svn' | xargs rm -rfv
- #patch -p1 <contrib/systemwide-patch/systemwide-patch.diff
+
+ if [ ! -e patch-stamp ]; then
+ patch -p1 <contrib/systemwide-patch/systemwide-patch.diff
+ touch patch-stamp
+ fi
touch configure-stamp
touch configure-stamp
@@
-45,8
+49,12
@@
clean:
dh_testroot
rm -f build-stamp configure-stamp
dh_testroot
rm -f build-stamp configure-stamp
- rm -f onis.1
- patch -p1 -R <contrib/systemwide-patch/systemwide-patch.diff
+ [ -e onis.1 ] && rm -f onis.1
+
+ if [ -e patch-stamp ]; then
+ patch -p1 -R <contrib/systemwide-patch/systemwide-patch.diff
+ rm -f patch-stamp
+ fi
dh_clean
dh_clean