summaryrefslogtreecommitdiff
path: root/builds/freetype.mk
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2006-05-10 13:44:47 +0000
committerWerner Lemberg <wl@gnu.org>2006-05-10 13:44:47 +0000
commite0d1559591e7b49fe638775536fa66100f1b2163 (patch)
tree182ce757ecdb2e795e4edad27c59ac7fa0353ad2 /builds/freetype.mk
parentb80d85fe9ed3b0cf96d03dcfd7d1e1f149c2b718 (diff)
downloadfreetype2-e0d1559591e7b49fe638775536fa66100f1b2163.tar.gz
* builds/freetype.mk (refdoc): Write-protect the `docmaker'
directory to suppress generation of .pyc files. According to the Python docs there isn't a more elegant solution (currently). * builds/toplevel.mk (dist): New target which builds .tar.gz, .tar.bz2, and .zip files. Note that the version number is still hard-coded. (do-dist): Sub-target of `dist'. (CONFIG_GUESS, CONFIG_SUB): New variables. (.PHONY): Updated.
Diffstat (limited to 'builds/freetype.mk')
-rw-r--r--builds/freetype.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/builds/freetype.mk b/builds/freetype.mk
index 84da09b0e..2afd8c898 100644
--- a/builds/freetype.mk
+++ b/builds/freetype.mk
@@ -267,7 +267,11 @@ dll: $(PROJECT_LIBRARY) exported_symbols
$(FT_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $<)
+# We write-protect the docmaker directory to suppress generation
+# of .pyc files.
+#
refdoc:
+ -chmod -w $(SRC_DIR)/tools/docmaker
python $(SRC_DIR)/tools/docmaker/docmaker.py \
--prefix=ft2 \
--title=FreeType-2.2.1 \
@@ -275,6 +279,7 @@ refdoc:
$(PUBLIC_DIR)/*.h \
$(PUBLIC_DIR)/config/*.h \
$(PUBLIC_DIR)/cache/*.h
+ -chmod +w $(SRC_DIR)/tools/docmaker
.PHONY: clean_project_std distclean_project_std