]> granicus.if.org Git - file/commitdiff
use BUILT_SOURCES
authorChristos Zoulas <christos@zoulas.com>
Thu, 10 Jan 2013 00:50:33 +0000 (00:50 +0000)
committerChristos Zoulas <christos@zoulas.com>
Thu, 10 Jan 2013 00:50:33 +0000 (00:50 +0000)
src/Makefile.am

index c4a8d70046a251fcaa9aac19b3f51a4db4c72417..656dbcf40ecb3522878e2312dd5a5a2774ff4b74 100644 (file)
@@ -23,6 +23,7 @@ file_SOURCES = file.c
 file_LDADD = libmagic.la
 CLEANFILES = magic.h
 HDR= $(top_srcdir)/src/magic.h.in
+BUILT_SOURCES = magic.h
 
 magic.h:       ${HDR}
        sed -e "s/X.YY/$$(echo @VERSION@ | tr -d .)/" < ${HDR} > $@