aboutsummaryrefslogtreecommitdiffstats
path: root/releases/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'releases/Makefile')
-rw-r--r--releases/Makefile19
1 files changed, 13 insertions, 6 deletions
diff --git a/releases/Makefile b/releases/Makefile
index eb4ef06..aafa00f 100644
--- a/releases/Makefile
+++ b/releases/Makefile
@@ -33,16 +33,23 @@ since:
echo '' >> ../NEWS
cat ../NEWS.old >> ../NEWS
-newrelease: clean since
- echo `cut -d. -f1-2 < .version`.`expr \`cut -d. -f3 < .version\` + 1` \
+newrelease: since
+ echo `cut -d. -f1-2 < ../.version`.`expr \`cut -d. -f3 < ../.version\` + 1` \
> ../.version
+ $(MAKE) clean
-newminorrelease: clean since
- echo `cut -d. -f1 < .version`.`expr \`cut -d. -f2 < .version\` + 1`.0 \
+newminorrelease: since
+ echo `cut -d. -f1 < ../.version`.`expr \`cut -d. -f2 < ../.version\` + 1`.0 \
> ../.version
+ $(MAKE) clean
-newmajorrelease: clean since
- echo `expr \`cut -d. -f1 < .version\` + 1`.0.0 > ../.version
+newmajorrelease: since
+ echo `expr \`cut -d. -f1 < ../.version\` + 1`.0.0 > ../.version
+ $(MAKE) clean
+
+# Note: "clean" includes autoconf stuff
+clean:
+ make -C .. clean
upload: release
scp autofs-$(RELEASE).tar.gz $(REPOSITORY)