From: Christos Zoulas Date: Sun, 6 Jan 2013 21:14:17 +0000 (+0000) Subject: $> does not work all the time X-Git-Tag: FILE5_13~54 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=041c4b0189a70fdf97bb77c0f51ca51a452416f0;p=file $> does not work all the time --- diff --git a/src/Makefile.am b/src/Makefile.am index c504c495..c4a8d700 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -22,6 +22,7 @@ libmagic_la_LIBADD = $(LTLIBOBJS) $(MINGWLIBS) file_SOURCES = file.c file_LDADD = libmagic.la CLEANFILES = magic.h +HDR= $(top_srcdir)/src/magic.h.in -magic.h: $(top_srcdir)/src/magic.h.in - sed -e "s/X.YY/$$(echo @VERSION@ | tr -d .)/" < $> > $@ +magic.h: ${HDR} + sed -e "s/X.YY/$$(echo @VERSION@ | tr -d .)/" < ${HDR} > $@