From a523f7d595e5a7d25b7f4332c027fbc05b40ad56 Mon Sep 17 00:00:00 2001 From: Vasudev Kamath Date: Sat, 30 Nov 2013 14:27:55 +0530 Subject: Target for generating source tarball. This target generates upstream source tarball which can be used by downstream distribution. It uses special option of tar so that the generated tarball content is always owned by root and uses best xz compression to generate 2mb tarball. Signed-off-by: Vasudev Kamath --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 6e3b709..34dff2a 100644 --- a/Makefile +++ b/Makefile @@ -81,3 +81,9 @@ webfonts: compile webfonts/$${font}/$${font}.eot; \ echo "Webfonts generated for $${font}"; \ done +sdist: $(fonts) ChangeLog Makefile generate.pe malayalam-fonts.conf + echo ".git\nignore-file" > ignore-file + tar --owner root --group root --mode a+rX \ + -X ignore-file -cvf - . | xz -9 >\ + ../malayalam-fonts-$(version).tar.xz + touch "$@" -- cgit