X-Git-Url: http://pileus.org/git/?p=aweather;a=blobdiff_plain;f=Makefile.am;h=5a748cbaa1ea4d20512e1374e60d29784c64ccf7;hp=ab2db73f0074b8825e66a3949be903e6a97e8ffd;hb=d3e8e448d17cc3f3f0687d194f9a377d7da97aec;hpb=be5f29a7f5586a27ec2ac06abfb25a570b357f87 diff --git a/Makefile.am b/Makefile.am index ab2db73..5a748cb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,22 +1,41 @@ -SUBDIRS = src data docs +SUBDIRS = data 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 -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) +build: all + export DESTDIR="`pwd`/build"; \ + make -C ../aweather-win32 install; \ + make -C ../grits-win32 install; \ + make -C ../rsl-win32 install; + find build -name '*.a' -delete + find build -name '*.la' -delete + rm -rf build/share/rsl/colors + rm -rf build/include + touch $@ + +installers: $(PACKAGE)-$(VERSION).exe $(PACKAGE)-$(VERSION)-gtk.exe + +$(PACKAGE)-$(VERSION).exe: build + makensis -DVERSION=$(VERSION) aweather.nsi + +$(PACKAGE)-$(VERSION)-gtk.exe: build + makensis -DVERSION=$(VERSION) -DUSE_GTK aweather.nsi + 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) + 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)"; \ + "spenceal@lug.rose-hulman.edu:/home/lug/htdocs/proj/$(PACKAGE)/files"; \ rm -f LATEST depscan: