X-Git-Url: http://pileus.org/git/?p=aweather;a=blobdiff_plain;f=Makefile.am;h=5a748cbaa1ea4d20512e1374e60d29784c64ccf7;hp=74c25e0d3acd40b930151e1d5bdedbc802787eae;hb=c652b9b627de78f667008991e8f4c2e7b6e454b5;hpb=282bb2f725995affcce1749c21a8eb6eaf8a8c8f diff --git a/Makefile.am b/Makefile.am index 74c25e0..5a748cb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,4 @@ -SUBDIRS = src data docs +SUBDIRS = data src docs ACLOCAL_AMFLAGS = -I m4 @@ -9,6 +9,25 @@ MAINTAINERCLEANFILES = aclocal.m4 compile config.guess config.h.in config.sub \ 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 @@ -16,7 +35,7 @@ release: all dist git push --all echo $(VERSION) > LATEST scp LATEST $(PACKAGE)-$(VERSION).tar.* \ - "spenceal@lug.rose-hulman.edu:/home/lug/htdocs/proj/$(PACKAGE)"; \ + "spenceal@lug.rose-hulman.edu:/home/lug/htdocs/proj/$(PACKAGE)/files"; \ rm -f LATEST depscan: