From 041c4b0189a70fdf97bb77c0f51ca51a452416f0 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Sun, 6 Jan 2013 21:14:17 +0000 Subject: [PATCH] $> does not work all the time --- src/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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} > $@ -- 2.40.0