~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove Uploaders: as pointless if not going into Debian
[disorder]
/
scripts
/
sedfiles.make
diff --git
a/scripts/sedfiles.make
b/scripts/sedfiles.make
index
8557a86
..
da6727a
100644
(file)
--- a/
scripts/sedfiles.make
+++ b/
scripts/sedfiles.make
@@
-27,7
+27,13
@@
$(SEDFILES) : % : %.in Makefile
-e 's!pkgdatadir!${pkgdatadir}!g;' \
-e 's!_version_!${VERSION}!g;' \
< $< > $@.new
-e 's!pkgdatadir!${pkgdatadir}!g;' \
-e 's!_version_!${VERSION}!g;' \
< $< > $@.new
- chmod 444 $@.new
+ @if test -x $<; then \
+ echo chmod 555 $@.new;\
+ chmod 555 $@.new;\
+ else \
+ echo chmod 444 $@.new;\
+ chmod 444 $@.new;\
+ fi
mv -f $@.new $@
# Local Variables:
mv -f $@.new $@
# Local Variables: