X-Git-Url: http://pileus.org/git/?p=grits;a=blobdiff_plain;f=Makefile.am;h=3373886299d0ab260fa9bebe67b0ed9ced6e2473;hp=f1c76f8c2107c084a6fbb6376cabd00698b0cda2;hb=14cdbb4a9c369576a5485315260fad5285935e80;hpb=1019fcfe2d612df24355f2597e661c28621b01c3 diff --git a/Makefile.am b/Makefile.am index f1c76f8..3373886 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,15 +1,19 @@ -SUBDIRS = src data docs +SUBDIRS = src docs -MAINTAINERCLEANFILES = aclocal.m4 compile config.guess config.h.in gtk-doc.make \ - configure depcomp install-sh Makefile.in missing +ACLOCAL_AMFLAGS=-I m4 + +MAINTAINERCLEANFILES = aclocal.m4 compile config.guess config.h.in config.sub \ + configure depcomp gtk-doc.make install-sh ltmain.sh \ + Makefile.in missing test: all (cd src && make test) release: all dist - svn cp \ - https://lug.rose-hulman.edu/svn/proj-$(PACKAGE)/trunk \ - https://lug.rose-hulman.edu/svn/proj-$(PACKAGE)/tags/$(VERSION) + @echo -en "\nRelease $(PACKAGE)-$(VERSION) (y/n): " + @read ans && [ "$$ans" != "y" ] && exit 1 || exit 0 + git tag -s -m "Version $(VERSION)" v$(VERSION) + git push --all echo $(VERSION) > LATEST scp LATEST $(PACKAGE)-$(VERSION).tar.* \ "lug@lug.rose-hulman.edu:/home/lug/htdocs/proj/$(PACKAGE)"; \