Be more specific in dist target
[clawsker.git] / Makefile
index 0393e0f08684f2f385f7b0bdac8fc7a48f12427f..df80dd0f428b4bb9ea87ccfdcd4ccc547d7c7a5b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -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}