aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile34
1 files changed, 0 insertions, 34 deletions
diff --git a/Makefile b/Makefile
index d7fb28a..09fcb5e 100644
--- a/Makefile
+++ b/Makefile
@@ -36,38 +36,4 @@ TODAY := $(shell date +'%Y%m%d')
backup: mrproper
cd .. ; tar cf - autofs | gzip -9 > autofs-bu-$(TODAY).tar.gz
-RELEASE := $(shell cat .version)
-
-.PHONY: release newrelease
-
-reldir:
- -rm -rf autofs-$(RELEASE) autofs-$(RELEASE).tar.gz
- mkdir autofs-$(RELEASE)
- cp -R $(SUBDIRS) $(INCDIRS) $(INCFILES) autofs-$(RELEASE)
- $(MAKE) -C autofs-$(RELEASE) distclean
- find autofs-$(RELEASE) -noleaf -name \*norel -print0 | xargs -0 rm -rf
-
-release: reldir
- -rm -f .prerel .lastrel
- cp .version .lastrel
- tar cvvf - autofs-$(RELEASE) | gzip -9 > autofs-$(RELEASE).tar.gz
-
-since:
- mv -f NEWS NEWS.old
- echo 'Since autofs-$(RELEASE):' > NEWS
- echo 'Since autofs-$(RELEASE):' | sed -e 's/./-/g' >> NEWS
- echo '' >> NEWS
- cat NEWS.old >> NEWS
-
-newrelease: clean since
- echo `cut -d. -f1-2 < .version`.`expr \`cut -d. -f3 < .version\` + 1` \
- > .version
-
-newminorrelease: clean since
- echo `cut -d. -f1 < .version`.`expr \`cut -d. -f2 < .version\` + 1`.0 \
- > .version
-
-newmajorrelease: clean since
- echo `expr \`cut -d. -f1 < .version\` + 1`.0.0 > .version
-
-include Makefile.private