Please find enclosed  a patch that adds the doc/examples into the build 
system.

You can now "make examples" whenever you like. The idea is to make it easy to 
build them, and so avoid the examples inadvertently breaking.

Brad
Index: Makefile.in
===================================================================
--- Makefile.in	(revision 354)
+++ Makefile.in	(working copy)
@@ -307,6 +307,9 @@
 	@echo "Linking $@"
 	@$(CC) -o $@ $^ $(LIBS) -lpopt
 
+examples:
+	cd doc/examples && make && cd ../..
+ 
 distclean: clean $(SWIGDIRS-DISTCLEAN)
 	rm -rf autom4te.cache
 	rm -f libmapi.pc libmapiadmin.pc libocpf.pc
@@ -363,6 +366,9 @@
 	rm -f *~
 	rm -f */*~
 	rm -f */*/*~
+	rm -f doc/examples/mapi_sample1
+	rm -f doc/examples/fetchappointment
+	rm -f doc/examples/fetchmail
 
 libmapi/proto.h libmapi/proto_private.h: libmapi/nspi.c			\
 	libmapi/emsmdb.c		\
_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to