X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=Makefile.am;h=1c7f870ba19a18b525bacbfc2637a8891f11a155;hb=57b61eb0e1cf8557ecbf3bb9f52a0927b0b1b98e;hp=06abab6b0a376b03fd8dcd83322260d6e3daf354;hpb=35a0ebb628cd849b0d21b241da650f4e57cb8cc1;p=aweather diff --git a/Makefile.am b/Makefile.am index 06abab6..1c7f870 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,14 +1,31 @@ -SUBDIRS = src data docs +SUBDIRS = lib src data docs -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 +EXTRA_DIST = m4/gnulib-cache.m4 + test: all (cd src && make test) +build: all + export DESTDIR="`pwd`/build"; \ + make -C ../aweather-win32 install; \ + make -C ../libgis-win32 install; \ + make -C ../rsl-win32 install; + 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 +33,7 @@ release: all dist 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)"; \ rm -f LATEST depscan: