]> git.wh0rd.org Git - fontconfig.git/commitdiff
[fc-glyphname] Cleanup Makefile.am
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 18 Nov 2009 14:25:42 +0000 (09:25 -0500)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 18 Nov 2009 14:25:42 +0000 (09:25 -0500)
fc-glyphname/Makefile.am

index 0244a7defb64b77d2461c49a3fdc99e7259be841..996ef0653666c0bdd6f07b30c6b44ebae374fa75 100644 (file)
@@ -34,22 +34,20 @@ TARG=fcglyphname.h
 
 noinst_PROGRAMS=fc-glyphname
 
-noinst_MANS=fc-glyphname.man
-
 GLYPHNAME=zapfdingbats.txt
 SGLYPHNAME=${top_srcdir}/fc-glyphname/zapfdingbats.txt
 
 EXTRA_DIST=$(TMPL) $(GLYPHNAME)
 
 $(TARG): $(STMPL) fc-glyphname$(EXEEXT) $(SGLYPHNAME)
-       rm -f $(TARG)
-       ./fc-glyphname$(EXEEXT) $(SGLYPHNAME) < $(STMPL) > $(TARG)
+       $(AM_V_GEN) $(RM) $(TARG); \
+       ./fc-glyphname$(EXEEXT) $(SGLYPHNAME) < $(STMPL) > $(TARG).tmp && mv $(TARG).tmp $(TARG)
 
 ALIAS_FILES = fcalias.h fcaliastail.h
 
 BUILT_SOURCES = $(ALIAS_FILES) $(TARG)
 
-$(ALIAS_FILES): 
+$(ALIAS_FILES):
        touch $(ALIAS_FILES)
 
 CLEANFILES=$(TARG) $(ALIAS_FILES)