Seems Accelerators are gone too
[clawsker.git] / Makefile
index a8fc28975e8af238a9336464087f8820ae77bf05..16b29b1b5e1ea4e938dd0322156c74592152e53f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 #
 # Clawsker Makefile
-# Copyright 2007-2016 Ricardo Mones <ricardo@mones.org>
+# Copyright 2007-2018 Ricardo Mones <ricardo@mones.org>
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -11,7 +11,7 @@
 #
 
 NAME = clawsker
-VERSION ?= 0.7.14
+VERSION ?= 1.2.0
 PREFIX ?= /usr/local
 BINDIR = ${PREFIX}/bin
 DATADIR = ${PREFIX}/share
@@ -20,7 +20,7 @@ MANDIR = ${DATADIR}/man
 MAN1DIR = ${MANDIR}/man1
 APPSDIR = ${DATADIR}/applications
 THEMEDIR = ${DATADIR}/icons/hicolor
-ICONRES = 64 128
+ICONRES = 48 64 128
 
 all: build
 
@@ -51,7 +51,7 @@ install-icons-dirs:
                install -d ${DESTDIR}${THEMEDIR}/$${res}x$${res}/apps; \
        done
 
-install-icons:
+install-icons: install-icons-dirs
        for res in ${ICONRES}; do \
                install -m 0644 icons/${NAME}-$${res}.png ${DESTDIR}${THEMEDIR}/$${res}x$${res}/apps/${NAME}.png; \
        done
@@ -72,8 +72,13 @@ dist:
        mkdir ${NAME}-${VERSION}
        cp -p AUTHORS ChangeLog.old ${NAME} ${NAME}.pod ${NAME}.desktop \
                COPYING Makefile NEWS README ${NAME}-${VERSION}
-       cp -rp po ${NAME}-${VERSION}
-       cp -rp icons ${NAME}-${VERSION}
+       mkdir ${NAME}-${VERSION}/po
+       cp -p po/*.po po/*.pot po/Makefile po/POTFILES po/README po/STATUS \
+               ${NAME}-${VERSION}/po
+       mkdir ${NAME}-${VERSION}/po/unmaint
+       cp -p po/unmaint/*.po ${NAME}-${VERSION}/po/unmaint
+       mkdir ${NAME}-${VERSION}/icons
+       cp -p icons/*.xcf icons/*.png ${NAME}-${VERSION}/icons
        tar cJf ${NAME}-${VERSION}.tar.xz ${NAME}-${VERSION} \
                && rm -rf ${NAME}-${VERSION}
 
@@ -85,5 +90,5 @@ clean: clean-build
        rm -f *~
        ${MAKE} -C po clean
 
-.PHONY: all build install install-dirs uninstall clean clean-build dist
+.PHONY: all build install install-dirs install-icons-dirs install-icons uninstall uninstall-icons clean clean-build dist