[PATCH] Fix dependency for include/crfs-shared/rev.h Makefile target

Alex Chiang achiang at hp.com
Mon Mar 31 18:26:28 PDT 2008


Hi Zach,

A fresh hg clone of crfs resulted in a build error right out of
the box.

This patch should help fix it.

/ac

# HG changeset patch
# User achiang at blender.achiang
# Date 1207012906 21600
# Node ID 0a51b6160477801bbc8984b06458d7ee10c74d4b
# Parent  3b019e435e0ebfc47d8167421486fc37c863cd11
Fix dependency for include/crfs-shared/rev.h Makefile target

include/crfs-shared/rev.h was dependent upon .hg/store/00manifest.i
but there is no store/ subdirectory under .hg.

Teach Makefile.in about the right path to 00manifest.i

Signed-off-by: Alex Chiang <achiang at hp.com>

diff -r 3b019e435e0e -r 0a51b6160477 Makefile.in
--- a/Makefile.in	Mon Mar 24 10:53:39 2008 -0700
+++ b/Makefile.in	Mon Mar 31 19:21:46 2008 -0600
@@ -66,7 +66,7 @@ lk/crfs.ko: Makefile lk/Makefile $(wildc
 # fail to keep the components in sync.  It'll all disappear once the protocols
 # stabalize.
 #
-include/crfs-shared/rev.h: .hg/store/00manifest.i
+include/crfs-shared/rev.h: .hg/00manifest.i
 	echo "#define CRFS_REV 0x$(shell hg tip --template '{node}' | cut -c 1-8)" > $@
 
 lk/rev.h: include/crfs-shared/rev.h



More information about the crfs-devel mailing list