]> Pileus Git - aweather/blobdiff - Makefile.am
Convert GtkBox and GtkScale to GTK 3 version
[aweather] / Makefile.am
index 39555efa21ff7f9df40031626f198f08c4207af5..139293afc28e12a85a5ada274433d5014911b2cd 100644 (file)
@@ -1,9 +1,35 @@
-SUBDIRS = data 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
-       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 \
-             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