summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2018-03-28 18:54:37 +0900
committerAkira TAGOH <akira@tagoh.org>2018-03-28 18:54:37 +0900
commit31269e3589e0e6432d12f55db316f4c720a090b5 (patch)
tree4e048e975a0dee0e640023724afef52a86b3c82c
parent2cf2e79cb66e29b97bd640a565e4817022f6fdb5 (diff)
Do not ship fcobjshash.h
-rw-r--r--src/Makefile.am12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 2111ce08..7a355753 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -94,7 +94,7 @@ BUILT_SOURCES = $(ALIAS_FILES) \
../fc-case/fccase.h \
../fc-lang/fclang.h \
stamp-fcstdint \
- fcobjshash.h \
+ $(builddir)/fcobjshash.h \
fcobjshash.gperf
noinst_PROGRAMS = fcarch
@@ -119,7 +119,7 @@ stamp-fcobjshash.gperf: fcobjshash.gperf.h fcobjs.h
' - > $@.tmp && \
mv -f $@.tmp fcobjshash.gperf && touch $@ || ( $(RM) $@.tmp && false )
-fcobjshash.h: Makefile fcobjshash.gperf
+$(builddir)/fcobjshash.h: Makefile fcobjshash.gperf
$(AM_V_GEN) $(GPERF) --pic -m 100 fcobjshash.gperf > $@.tmp && \
mv -f $@.tmp $@ || ( $(RM) $@.tmp && false )
@@ -151,7 +151,6 @@ libfontconfig_la_SOURCES = \
fcname.c \
fcobjs.c \
fcobjs.h \
- fcobjshash.h \
fcpat.c \
fcrange.c \
fcserialize.c \
@@ -201,12 +200,15 @@ stamp-fcstdint: $(top_builddir)/config.status
$(SHELL) ./config.status src/fcstdint.h
@touch $@
-CLEANFILES = $(ALIAS_FILES) fontconfig.def
+CLEANFILES = \
+ $(ALIAS_FILES) \
+ fontconfig.def \
+ $(builddir)/fcobjshash.h
+
DISTCLEANFILES = \
stamp-fcstdint \
fcstdint.h \
stamp-fcobjshash.gperf \
- fcobjshash.h \
fcobjshash.gperf
fontconfig.def: $(PUBLIC_FILES) $(PUBLIC_FT_FILES)