]> Pileus Git - aweather/blobdiff - Makefile.am
Refactoring a lot of things. Taking all the opengl and GIS stuff out of
[aweather] / Makefile.am
index c4043995658faa0103a9691d2a378eb810e90639..4b7dbe2c57792500ffc4d21ef8da0097496e9f6c 100644 (file)
@@ -4,6 +4,30 @@ MAINTAINERCLEANFILES = aclocal.m4 compile config.guess config.h.in gtk-doc.make
                        configure depcomp install-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
+       svn cp \
+               https://lug.rose-hulman.edu/svn/proj-$(PACKAGE)/trunk \
+               https://lug.rose-hulman.edu/svn/proj-$(PACKAGE)/tags/$(VERSION)
+       echo $(VERSION) > LATEST
+       scp LATEST $(PACKAGE)-$(VERSION).tar.* \
+               "lug@lug.rose-hulman.edu:/home/lug/htdocs/proj/$(PACKAGE)"; \
+       rm -f LATEST
+
+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