summaryrefslogtreecommitdiff
path: root/lib/fontconfig/fc-case/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fontconfig/fc-case/Makefile')
-rw-r--r--lib/fontconfig/fc-case/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/lib/fontconfig/fc-case/Makefile b/lib/fontconfig/fc-case/Makefile
index 3fc366dc4..5fb2af85e 100644
--- a/lib/fontconfig/fc-case/Makefile
+++ b/lib/fontconfig/fc-case/Makefile
@@ -1,21 +1,22 @@
-# $OpenBSD: Makefile,v 1.2 2017/06/18 21:09:07 espie Exp $
+# $OpenBSD: Makefile,v 1.3 2021/11/11 08:46:46 matthieu Exp $
FONTCONFIG= ${.CURDIR}/../../../dist/fontconfig
-PROG= fc-case
-afterdepend: fccase.h
-all: fccase.h
+all:
-fccase.h: ${PROG}
- ./${PROG} ${FONTCONFIG}/fc-case/CaseFolding.txt \
- < ${FONTCONFIG}/fc-case/fccase.tmpl.h > fccase.h
+regen: fccase.h
-obj: _xenocara_obj
+fccase.h: CaseFolding.txt fccase.tmpl.h fc-case.py
+ python${PYTHON_VERSION} ${FONTCONFIG}/fc-case/fc-case.py \
+ ${FONTCONFIG}/fc-case/CaseFolding.txt \
+ --template ${FONTCONFIG}/fc-case/fccase.tmpl.h \
+ --output $@
+
+obj:
.PATH: ${FONTCONFIG}/fc-case
-CLEANFILES = fccase.h
NOMAN=