summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <luke@HP-dv6426us-u904.(none)>2009-10-25 04:37:58 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-06-26 00:30:17 -0600
commit1e17c83984fa9d8588c467e9528f3eb47f6aca43 (patch)
tree5dfb3ace4bd42ad6cd64893c6a243e9e188af115
parent1bb24f3a7993f4d44a250375095f2cbc50c4496d (diff)
I am satisfied with how diff-daemon builds
-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 :