summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure10
-rw-r--r--diff/main.mk.in1
-rw-r--r--ptranslate/main.mk.in1
3 files changed, 6 insertions, 6 deletions
diff --git a/configure b/configure
index 0e10974..11da35b 100755
--- a/configure
+++ b/configure
@@ -75,17 +75,17 @@ for var in $vars; do
echo "s:@$var@:$val:g" >> var.sed
done
-echo "
-19 a# DO NOT edit this file, it has been generated by configure, and will
-19 a# be overwritten. Instead, edit the file \`Makefile.in'" >> var.sed
-
Makefiles="`find "${_srcdir}/" -type f -name Makefile.in`"
Makefiles="$Makefiles `find "${_srcdir}/" -type f -name *.mk.in`"
for orig in $Makefiles; do
new=${orig/%.in/}
new=${new/#$_srcdir\//}
mkdir -p `dirname "$new"`
- sed -f var.sed < "${orig}" > "${new}"
+ sed -f var.sed "${orig}" | sed \
+-e '19 a# DO NOT edit this file, it has been generated by configure, and will' \
+-e "19 a# be overwritten. Instead, edit the file \``basename ${orig}`'" \
+-e "19 a
+ " > "${new}"
done
rm var.sed
diff --git a/diff/main.mk.in b/diff/main.mk.in
index 99a71c2..7a133e0 100644
--- a/diff/main.mk.in
+++ b/diff/main.mk.in
@@ -17,7 +17,6 @@ ver = 1.1
# along with this program; see the file COPYING.
# If not, see <http://www.gnu.org/licenses>.
-src = /var/srcdir
# general stuffs #####################################################
all : diff-daemon patch-daemon
.SUFFIXES :
diff --git a/ptranslate/main.mk.in b/ptranslate/main.mk.in
index 67655cc..46c0dd6 100644
--- a/ptranslate/main.mk.in
+++ b/ptranslate/main.mk.in
@@ -18,6 +18,7 @@ ver = 1.9.0
# If not, see <http://www.gnu.org/licenses>.
trans = @trans@
+# general stuffs #####################################################
all : translators ptranslate
install : install-translators $(DESTDIR)$(bindir)/ptranslate
.SUFFIXES :