mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2024-12-22 12:48:51 +00:00
build: Use $-quoted string to escape newline
BSD sed doesn't like escaping a literal newline character with a backslash. Instead, use a $-quoted string to escape the newline as \n. https://bugzilla.gnome.org/show_bug.cgi?id=734630
This commit is contained in:
parent
99a2e6ad3e
commit
4d7b190b67
@ -89,8 +89,7 @@ temp-dbus-generated.c: $(DBUS_XML_DEFINITIONS) Makefile.am
|
|||||||
$(AM_V_GEN) gdbus-codegen --interface-prefix org.freedesktop.Secret. \
|
$(AM_V_GEN) gdbus-codegen --interface-prefix org.freedesktop.Secret. \
|
||||||
--generate-c-code temp-dbus-generated --c-namespace SecretGen $<
|
--generate-c-code temp-dbus-generated --c-namespace SecretGen $<
|
||||||
secret-dbus-generated.c: temp-dbus-generated.c Makefile.am
|
secret-dbus-generated.c: temp-dbus-generated.c Makefile.am
|
||||||
$(AM_V_GEN) sed -e '1i\
|
$(AM_V_GEN) sed -e $$'1i\\\n#define GLIB_DISABLE_DEPRECATION_WARNINGS' \
|
||||||
#define GLIB_DISABLE_DEPRECATION_WARNINGS' \
|
|
||||||
-e 's/secret_gen_/_secret_gen_/g' -e 's/type-/type/g' \
|
-e 's/secret_gen_/_secret_gen_/g' -e 's/type-/type/g' \
|
||||||
-e 's/temp-dbus-generated.h/secret-dbus-generated.h/g' \
|
-e 's/temp-dbus-generated.h/secret-dbus-generated.h/g' \
|
||||||
temp-dbus-generated.c > secret-dbus-generated.c
|
temp-dbus-generated.c > secret-dbus-generated.c
|
||||||
|
Loading…
Reference in New Issue
Block a user