summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2005-04-24 08:48:54 +0000
committerSebastien Helleu <flashcode@flashtux.org>2005-04-24 08:48:54 +0000
commit04d6257224a7a90ee272b7a359d2f0b25d8faa63 (patch)
treea86daff37a5d957772fd056211fdba6e65a86769
parent73c69d2d71b7051209d7904dba0162d53b829ca6 (diff)
downloadweechat-04d6257224a7a90ee272b7a359d2f0b25d8faa63.zip
Backup and restore Makefile.am before and after gettextize
-rwxr-xr-xautogen.sh2
-rwxr-xr-xweechat/autogen.sh2
2 files changed, 4 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 1f461510c..e3163f120 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -2,7 +2,9 @@
# gettextize updates Makefile.am, configure.in
cp configure.in configure.in.old
+cp Makefile.am Makefile.am.old
gettextize --copy --force --intl --no-changelog &&
+mv Makefile.am.old Makefile.am
mv configure.in.old configure.in
aclocal &&
# autoheader creates config.h.in needed by autoconf
diff --git a/weechat/autogen.sh b/weechat/autogen.sh
index 1f461510c..e3163f120 100755
--- a/weechat/autogen.sh
+++ b/weechat/autogen.sh
@@ -2,7 +2,9 @@
# gettextize updates Makefile.am, configure.in
cp configure.in configure.in.old
+cp Makefile.am Makefile.am.old
gettextize --copy --force --intl --no-changelog &&
+mv Makefile.am.old Makefile.am
mv configure.in.old configure.in
aclocal &&
# autoheader creates config.h.in needed by autoconf