Update docs
[aweather] / Makefile.am
1 SUBDIRS = data src docs
2
3 ACLOCAL_AMFLAGS = -I m4
4
5 MAINTAINERCLEANFILES = aclocal.m4 compile config.guess config.h.in config.sub \
6                        configure depcomp gtk-doc.make install-sh ltmain.sh \
7                        Makefile.in missing
8
9 test: all
10         (cd src && make test)
11
12 release: all dist
13         @echo -en "\nRelease $(PACKAGE)-$(VERSION) (y/n): "
14         @read ans && [ "$$ans" != "y" ] && exit 1 || exit 0
15         git tag -s -m "Version $(VERSION)" v$(VERSION)
16         git push --all
17         echo $(VERSION) > LATEST
18         scp LATEST $(PACKAGE)-$(VERSION).tar.* \
19                 "andy@pileus.org:/home/pileus/htdocs/$(PACKAGE)/files"; \
20         rm -f LATEST
21
22 depscan:
23         gtkdoc-depscan             \
24                 --book=atk         \
25                 --book=gdk         \
26                 --book=gdk-pixbuf  \
27                 --book=glib        \
28                 --book=gio         \
29                 --book=gobject     \
30                 --book=gtk         \
31                 --book=pango       \
32                 --book=libsoup-2.4 \
33                 --list-unknown     \
34                 "$@"               \
35                 src/*.c