Don't require non-shifted commands in full screen view
[joel/kofoto.git] / Makefile
index c7c84e8..affef84 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,13 @@
 PREFIX = /usr/local
 
-VERSION = $(shell sed -n 's/^version = "\(.*\)"$$/\1/p' src/lib/kofoto/version.py)
+VERSION = $(shell sed -n 's/^version = "\(.*\)"$$/\1/p' src/packages/kofoto/version.py)
 
 help:
        @echo "Available targets:"
        @echo
+       @echo "check"
        @echo "clean"
+       @echo "dist"
        @echo "install [PREFIX=prefix]"
 
 clean:
@@ -13,7 +15,7 @@ clean:
        rm -rf build dist
        find . \( -name '*~' -o -name '.*~' -o -name '.#*' -o -name '*.pyc' \
                  -o -name '*.orig' -o -name '*.bak' -o -name '*.rej' \
-                  -o -name MANIFEST \
+                 -o -name MANIFEST \
               \) -exec rm -f {} \;
 
 install:
@@ -35,7 +37,7 @@ dist_binary_targz:
        ./setup.py bdist --formats=gztar
 
 dist_windows_installer:
-       ./setup.py windows bdist_wininst --install-script gkofoto-windows-postinstall.py
+       ./build-windows-installer.py
 
 dist_rpm:
        ./setup.py bdist --formats=rpm
@@ -45,6 +47,7 @@ dist_debian:
        cp dist/kofoto-$(VERSION).tar.gz dist/debiantmp/kofoto_$(VERSION).orig.tar.gz
        cd dist/debiantmp && tar xzf kofoto_$(VERSION).orig.tar.gz
        cp -r packaging/debian dist/debiantmp/kofoto-$(VERSION)
+       rm -rf dist/debiantmp/kofoto-$(VERSION)/debian/.svn
        cd dist/debiantmp/kofoto-$(VERSION) && debuild
        mkdir -p dist/debian
        mv dist/debiantmp/kofoto_$(VERSION)-*.deb dist/debian