diff options
author | Arun Raghavan <arun.raghavan@collabora.co.uk> | 2010-09-29 20:56:48 +0530 |
---|---|---|
committer | Colin Guthrie <cguthrie@mandriva.org> | 2010-09-29 16:40:27 +0100 |
commit | f25676c2bb6780fee796f72220e43f89d9eb7dd9 (patch) | |
tree | c30e484265a355e24d381067071040a9e2771d14 /build | |
parent | b42400816031c17cdf6a63f446510e13d0ab9828 (diff) |
build: Copy orc dist files to the correct directory
Diffstat (limited to 'build')
-rw-r--r-- | build/orc.mak | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build/orc.mak b/build/orc.mak index d230998c..90d403a5 100644 --- a/build/orc.mak +++ b/build/orc.mak @@ -67,5 +67,6 @@ dist-hook-orc: tmp-orc.c $(ORC_SOURCE).h cp tmp-orc.c $(srcdir)/$(ORC_SOURCE)-dist.c cmp -s $(ORC_SOURCE).h $(srcdir)/$(ORC_SOURCE)-dist.h || \ cp $(ORC_SOURCE).h $(srcdir)/$(ORC_SOURCE)-dist.h - cp -p $(srcdir)/$(ORC_SOURCE)-dist.c $(distdir)/ - cp -p $(srcdir)/$(ORC_SOURCE)-dist.h $(distdir)/ + mkdir -p $$(dirname $(ORC_SOURCE)) + cp -p $(srcdir)/$(ORC_SOURCE)-dist.c $(distdir)/$$(dirname $(ORC_SOURCE)) + cp -p $(srcdir)/$(ORC_SOURCE)-dist.h $(distdir)/$$(dirname $(ORC_SOURCE)) |