summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVasudev Kamath <kamathvasudev@gmail.com>2013-11-30 14:27:55 +0530
committerVasudev Kamath <kamathvasudev@gmail.com>2013-11-30 14:31:12 +0530
commita523f7d595e5a7d25b7f4332c027fbc05b40ad56 (patch)
tree0f1bfed970d88ffee942be6dbfbcc36e549a694f
parentbcad7b08a4a9fa2d91a21bd96e4e5b15f5b05b74 (diff)
downloadAnjaliOldLipi.git-a523f7d595e5a7d25b7f4332c027fbc05b40ad56.zip
AnjaliOldLipi.git-a523f7d595e5a7d25b7f4332c027fbc05b40ad56.tar.gz
AnjaliOldLipi.git-a523f7d595e5a7d25b7f4332c027fbc05b40ad56.tar.xz
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 <kamathvasudev@gmail.com>
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
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 "$@"