add documentation for how to use p≡p MIME with the p≡p engine sync
authorVolker Birk <vb@pep-project.org>
Fri, 05 Apr 2019 22:24:59 +0200
branchsync
changeset 3447859cffbe72b8
parent 3446 30dc8022b871
child 3448 191306b90981
add documentation for how to use p≡p MIME with the p≡p engine
.hgignore
src/Makefile
     1.1 --- a/.hgignore	Fri Apr 05 20:05:25 2019 +0200
     1.2 +++ b/.hgignore	Fri Apr 05 22:24:59 2019 +0200
     1.3 @@ -76,7 +76,9 @@
     1.4  sync/.actions
     1.5  sync/.codegen
     1.6  sync/.statemachines
     1.7 +sync/.copy
     1.8  test/msg_2.0.asc
     1.9  test/*Tests
    1.10  test/*.txt
    1.11  lldb-history
    1.12 +*.swo
     2.1 --- a/src/Makefile	Fri Apr 05 20:05:25 2019 +0200
     2.2 +++ b/src/Makefile	Fri Apr 05 22:24:59 2019 +0200
     2.3 @@ -22,17 +22,17 @@
     2.4          CFLAGS+= -DSQLITE_THREADSAFE=1
     2.5          LDLIBS+= -lz -liconv
     2.6      else
     2.7 -        $(error I don't know how to make for $(BUILD_FOR) on $(BUILD_ON))
     2.8 +        $(error I do not know how to make for $(BUILD_FOR) on $(BUILD_ON))
     2.9      endif
    2.10  else ifeq ($(BUILD_ON),Linux)
    2.11      ifeq ($(BUILD_FOR),Linux)
    2.12          CFLAGS+= -DSQLITE_THREADSAFE=1 -D_GNU_SOURCE
    2.13          LDLIBS+= -ldl -luuid
    2.14      else
    2.15 -        $(error I don't know how to make for $(BUILD_FOR) on $(BUILD_ON))
    2.16 +        $(error I do not know how to make for $(BUILD_FOR) on $(BUILD_ON))
    2.17      endif
    2.18  else
    2.19 -    $(error I don't know how to make for $(BUILD_FOR) on $(BUILD_ON))
    2.20 +    $(error I do not know how to make for $(BUILD_FOR) on $(BUILD_ON))
    2.21  endif
    2.22  
    2.23  ifdef SQLITE3_FROM_OS
    2.24 @@ -93,9 +93,10 @@
    2.25  	rm -Rf $(TARGET).dSYM
    2.26  	rm -f KeySync_fsm.* Sync_actions.c Sync_event.* Sync_func.* Sync_impl.* sync_codec.*
    2.27  
    2.28 -install: $(TARGET)
    2.29 -	mkdir -p "$(PREFIX)/lib/"
    2.30 -	cp $< $(PREFIX)/lib/
    2.31 +# CAVEAT:
    2.32 +# install_headers is needed for building pEp MIME
    2.33 +
    2.34 +install_headers:
    2.35  	mkdir -p $(PREFIX)/include/pEp
    2.36  	cp pEpEngine.h keymanagement.h message_api.h dynamic_api.h stringlist.h \
    2.37  	   timestamp.h identity_list.h bloblist.h stringpair.h message.h mime.h \
    2.38 @@ -103,6 +104,10 @@
    2.39  	   labeled_int_list.h key_reset.h base64.h sync_codec.h \
    2.40  	   ../asn.1/*.h $(PREFIX)/include/pEp/
    2.41  
    2.42 +install: $(TARGET) install_headers
    2.43 +	mkdir -p "$(PREFIX)/lib/"
    2.44 +	cp $< $(PREFIX)/lib/
    2.45 +
    2.46  .PHONY: uninstall
    2.47  uninstall:
    2.48  	rm -f $(PREFIX)/lib/$(TARGET)