summaryrefslogtreecommitdiff
path: root/libwpg
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2013-05-24 14:53:37 +0200
committerDavid Tardon <dtardon@redhat.com>2013-05-24 16:52:02 +0200
commitc51a2542f52f99488f31beb90067586af3075b5b (patch)
tree39e606ca56520cbe0d2ad2d83e8d1c86642fdcdb /libwpg
parent87a22d6a2371d8b58f96a6a9cf23c1063ce383d7 (diff)
do not deliver libwpg headers
Yes, I am impatient .-) Change-Id: I3d9c292b0d86bc1dd40a574272a43d8178f3a3b3
Diffstat (limited to 'libwpg')
-rw-r--r--libwpg/ExternalPackage_libwpg.mk6
-rw-r--r--libwpg/UnpackedTarball_libwpg.mk7
2 files changed, 7 insertions, 6 deletions
diff --git a/libwpg/ExternalPackage_libwpg.mk b/libwpg/ExternalPackage_libwpg.mk
index 927f2dae9b1f..b804836ba099 100644
--- a/libwpg/ExternalPackage_libwpg.mk
+++ b/libwpg/ExternalPackage_libwpg.mk
@@ -9,12 +9,6 @@
$(eval $(call gb_ExternalPackage_ExternalPackage,libwpg,libwpg))
-$(eval $(call gb_ExternalPackage_add_unpacked_files,libwpg,inc/external/libwpg,\
- src/lib/libwpg.h \
- src/lib/WPGPaintInterface.h \
- src/lib/WPGraphics.h \
-))
-
$(eval $(call gb_ExternalPackage_use_external_project,libwpg,libwpg))
ifeq ($(OS)$(COM),WNTMSC)
diff --git a/libwpg/UnpackedTarball_libwpg.mk b/libwpg/UnpackedTarball_libwpg.mk
index 03be2064afba..7c76a958eaf5 100644
--- a/libwpg/UnpackedTarball_libwpg.mk
+++ b/libwpg/UnpackedTarball_libwpg.mk
@@ -11,4 +11,11 @@ $(eval $(call gb_UnpackedTarball_UnpackedTarball,libwpg))
$(eval $(call gb_UnpackedTarball_set_tarball,libwpg,$(WPG_TARBALL)))
+# HACK to avoid the need to deliver the headers to $(OUTDIR). This
+# should be removed when libwpg is updated.
+$(eval $(call gb_UnpackedTarball_set_post_action,libwpg,\
+ mkdir -p inc/libwpg && \
+ cp -f src/lib/libwpg.h src/lib/WPGPaintInterface.h src/lib/WPGraphics.h inc/libwpg \
+))
+
# vim: set noet sw=4 ts=4: