X-Git-Url: http://pileus.org/git/?p=aweather;a=blobdiff_plain;f=Makefile.am;h=139293afc28e12a85a5ada274433d5014911b2cd;hp=0940733d95502825aa2716256c95cbd362e8d452;hb=72842797f3fddb8ddb3c309ba9ceec889c4ec4e2;hpb=d1d479adc78f455398046e115ffd382954d3cc82 diff --git a/Makefile.am b/Makefile.am index 0940733..139293a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,9 +1,35 @@ -SUBDIRS = src data docs +SUBDIRS = data src docs + +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 - LD_LIBRARY_PATH=/usr/local/trmm/GVBOX/lib/ \ - ./src/aweather + (cd src && make test) + +release: all dist + @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.* \ + "andy@pileus.org:/home/pileus/htdocs/$(PACKAGE)/files"; \ + rm -f LATEST -maintainer-clean-local: - rm -f aclocal.m4 compile config.guess config.h.in gtk-doc.make \ - configure depcomp install-sh Makefile.in missing +depscan: + gtkdoc-depscan \ + --book=atk \ + --book=gdk \ + --book=gdk-pixbuf \ + --book=glib \ + --book=gio \ + --book=gobject \ + --book=gtk \ + --book=pango \ + --book=libsoup-2.4 \ + --list-unknown \ + "$@" \ + src/*.c