]> Pileus Git - aweather/commitdiff
updating make release with prompt v0.1.1
authorAndy Spencer <andy753421@gmail.com>
Thu, 16 Jul 2009 06:52:32 +0000 (06:52 +0000)
committerAndy Spencer <andy753421@gmail.com>
Thu, 16 Jul 2009 06:52:32 +0000 (06:52 +0000)
Makefile.am

index f1c76f8c2107c084a6fbb6376cabd00698b0cda2..4b7dbe2c57792500ffc4d21ef8da0097496e9f6c 100644 (file)
@@ -7,6 +7,8 @@ test: all
        (cd src && make test)
 
 release: all dist
+       @echo -en "\nRelease $(PACKAGE)-$(VERSION) (y/n): "
+       @read ans && [ "$$ans" != "y" ] && exit 1 || exit 0
        svn cp \
                https://lug.rose-hulman.edu/svn/proj-$(PACKAGE)/trunk \
                https://lug.rose-hulman.edu/svn/proj-$(PACKAGE)/tags/$(VERSION)