X-Git-Url: http://pileus.org/git/?p=aweather;a=blobdiff_plain;f=Makefile.am;h=139293afc28e12a85a5ada274433d5014911b2cd;hp=4e92a6d7a120af39c4baaee887e0b1a0ca23c20d;hb=72842797f3fddb8ddb3c309ba9ceec889c4ec4e2;hpb=a065c2a4897d738b099067f2b8b7581265e7200b diff --git a/Makefile.am b/Makefile.am index 4e92a6d..139293a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,8 +1,35 @@ -SUBDIRS = src +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 - ./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 \ - 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