Versioning.
[WebKit-https.git] / Source / WebInspectorUI / GNUmakefile.am
index 68e621a42a405d2f8054647726be7253c3a2dd3c..d6b2dafbb9e633417eb8a5b36c2582a79eb9c56d 100644 (file)
@@ -12,9 +12,10 @@ ${GENSOURCES_WEBINSPECTOR_UI}/GResourceBundle.xml: GNUmakefile \
        $(AM_V_at)echo '<gresources>' >> ${GENSOURCES_WEBINSPECTOR_UI}/GResourceBundle.xml
        $(AM_V_at)echo '  <gresource prefix="/org/webkitgtk/inspector">' >> ${GENSOURCES_WEBINSPECTOR_UI}/GResourceBundle.xml
        $(AM_V_at)\
+               basepath=`echo $(WebInspectorUI)/ | sed 's,^./,,g'`; \
                for file in $^; do \
                        if [ "$$file" = "GNUmakefile" ]; then continue; fi; \
-                       file=`echo $$file | sed s,$(WebInspectorUI)/,,g`; \
+                       file=`echo $$file | sed "s,$$basepath,,g"`; \
                        echo "    <file>$$file</file>" >> ${GENSOURCES_WEBINSPECTOR_UI}/GResourceBundle.xml; \
                done
        $(AM_V_at)echo '  </gresource>' >> ${GENSOURCES_WEBINSPECTOR_UI}/GResourceBundle.xml