mirror of
https://github.com/libimobiledevice/libplist.git
synced 2026-05-17 20:30:34 +00:00
3edac28498
- Add PLIST_OPT_COERCE option to coerce PLIST_DATE, PLIST_DATA, and PLIST_UID to JSON-compatible types (ISO 8601 strings, Base64 strings, and integers) - Add plist_to_json_with_options() function to allow passing coercion options (and others) - Update plist_write_to_string() and plist_write_to_stream() to support coercion option - Add --coerce flag to plistutil for JSON output - Create plist2json symlink that automatically enables coercion when invoked
21 lines
339 B
Makefile
21 lines
339 B
Makefile
if BUILD_TOOLS
|
|
|
|
AM_CFLAGS = \
|
|
$(GLOBAL_CFLAGS) \
|
|
-I$(top_srcdir)/include
|
|
|
|
AM_LDFLAGS =
|
|
|
|
bin_PROGRAMS = plistutil
|
|
|
|
plistutil_SOURCES = plistutil.c
|
|
plistutil_LDADD = $(top_builddir)/src/libplist-2.0.la
|
|
|
|
install-exec-hook:
|
|
cd $(DESTDIR)$(bindir) && ln -sf plistutil plist2json
|
|
|
|
uninstall-hook:
|
|
rm -f $(DESTDIR)$(bindir)/plist2json
|
|
|
|
endif
|