aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>1998-04-06 11:10:46 +0000
committerH. Peter Anvin <hpa@zytor.com>1998-04-06 11:10:46 +0000
commit8123b2516336d44586ea2198c93b2c5f5cc49a91 (patch)
tree0d199ce6e1d9b69d2c540470dbb0f78ebb2432be
parenteeeaa14d5598f0cea5aaf4ce51f2a6b833ece357 (diff)
downloadautofs3-8123b2516336d44586ea2198c93b2c5f5cc49a91.tar.gz
autofs3-8123b2516336d44586ea2198c93b2c5f5cc49a91.tar.xz
autofs3-8123b2516336d44586ea2198c93b2c5f5cc49a91.zip
When we create a new .autofs file, make sure configure.in et al match...
-rw-r--r--.version2
-rw-r--r--Makefile2
2 files changed, 3 insertions, 1 deletions
diff --git a/.version b/.version
index 9e29e10..fd2a018 100644
--- a/.version
+++ b/.version
@@ -1 +1 @@
-0.3.15
+3.1.0
diff --git a/Makefile b/Makefile
index 150ba3e..174cb10 100644
--- a/Makefile
+++ b/Makefile
@@ -31,6 +31,8 @@ mrproper distclean: clean
find . -noleaf \( -name '*~' -o -name '#*' -o -name '*.orig' -o -name '*.rej' -o -name '*.old' \) -print0 | xargs -0 rm -f
-rm -f include/config.h Makefile.conf config.* .autofs-*
echo x > .autofs-`cat .version`
+ sed -e "s/(\.autofs-[0-9.]\+)/(.autofs-`cat .version`)/" < configure.in > configure.in.tmp
+ mv -f configure.in.tmp configure.in
rm -f configure
$(MAKE) configure