]> git.wh0rd.org Git - fontconfig.git/commitdiff
Leave generated headers out of distribution (bug 12734).
authorKeith Packard <keithp@koto.keithp.com>
Thu, 25 Oct 2007 04:47:40 +0000 (21:47 -0700)
committerKeith Packard <keithp@koto.keithp.com>
Thu, 25 Oct 2007 04:47:40 +0000 (21:47 -0700)
If the generated header files are included in the distribution, a build
outside of the source directory will use them. For machine-specific files,
this generates the wrong result (fcarch.h). Leaving them out of the
distribution forces them to be built.

fc-arch/Makefile.am
fc-case/Makefile.am
fc-glyphname/Makefile.am
fc-lang/Makefile.am

index 819e37ac93a74df08112c0088383c0b707d62296..5fedbfbc7893fd6a65ebb52eaffe88a3274643ce 100644 (file)
@@ -37,8 +37,6 @@ ARCHITECTURE=@ARCHITECTURE@
 
 noinst_PROGRAMS=fc-arch
 
-noinst_HEADERS=$(TARG)
-
 noinst_MANS=fc-arch.man
 
 EXTRA_DIST=$(TMPL)
@@ -49,7 +47,7 @@ $(TARG):fc-arch${EXEEXT} $(STMPL) ${top_srcdir}/src/fcint.h ../config.h
 
 ALIAS_FILES = fcalias.h fcaliastail.h
 
-BUILT_SOURCES = $(ALIAS_FILES)
+BUILT_SOURCES = $(ALIAS_FILES) $(TARG)
 
 $(ALIAS_FILES): 
        touch $(ALIAS_FILES)
index e498da0f5ca686408819966be4cd23c64ddb91a7..83ca2de683de1c5c37a74e00490b5e9ff3ecf01c 100644 (file)
@@ -34,8 +34,6 @@ TARG=fccase.h
 
 noinst_PROGRAMS=fc-case
 
-noinst_HEADERS=$(TARG)
-
 noinst_MANS=fc-case.man
 
 fc_case_SRCS= \
@@ -54,7 +52,7 @@ $(TARG): $(STMPL) fc-case$(EXEEXT) $(SCASEFOLDING)
 
 ALIAS_FILES = fcalias.h fcaliastail.h
 
-BUILT_SOURCES = $(ALIAS_FILES)
+BUILT_SOURCES = $(ALIAS_FILES) $(TARG)
 
 $(ALIAS_FILES): 
        touch $(ALIAS_FILES)
index 063ba006b77a2090c18b287809d6a9e5047ba18d..8aa5ead1e619d537670494d6687311e7a3146144 100644 (file)
@@ -34,8 +34,6 @@ TARG=fcglyphname.h
 
 noinst_PROGRAMS=fc-glyphname
 
-noinst_HEADERS=$(TARG)
-
 noinst_MANS=fc-glyphname.man
 
 GLYPHNAME=zapfdingbats.txt
@@ -49,7 +47,7 @@ $(TARG): $(STMPL) fc-glyphname$(EXEEXT) $(SGLYPHNAME)
 
 ALIAS_FILES = fcalias.h fcaliastail.h
 
-BUILT_SOURCES = $(ALIAS_FILES)
+BUILT_SOURCES = $(ALIAS_FILES) $(TARG)
 
 $(ALIAS_FILES): 
        touch $(ALIAS_FILES)
index 8ca93991b6810e78e8e3094a51c7cca64b668eed..f152ab5fd4adafc1d30b120f5af779320cc9476d 100644 (file)
@@ -34,8 +34,6 @@ TARG=fclang.h
 
 noinst_PROGRAMS=fc-lang
 
-noinst_HEADERS=$(TARG)
-
 noinst_MANS=fc-lang.man
 
 ORTH=@ORTH_FILES@
@@ -48,7 +46,7 @@ $(TARG):$(ORTH) fc-lang${EXEEXT} $(STMPL)
 
 ALIAS_FILES = fcalias.h fcaliastail.h
 
-BUILT_SOURCES = $(ALIAS_FILES)
+BUILT_SOURCES = $(ALIAS_FILES) $(TARG)
 
 $(ALIAS_FILES): 
        touch $(ALIAS_FILES)