creating header dir if necessary
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 6 Jun 2005 17:49:18 +0000 (17:49 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 6 Jun 2005 17:49:18 +0000 (17:49 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@327 9efc2488-bf62-4759-914b-345cdb29e865

src/objson/Makefile

index d556258..3ab17a7 100644 (file)
@@ -14,6 +14,7 @@ test: lib objson_test.c
 
 lib:   $(OBJS)
        $(CC) $(LDFLAGS) $(OBJS) -o $(LIB_DIR)/libobjson.so
+       if [ ! -d $(HEADER_DIR)/objson/ ];then mkdir $(HEADER_DIR)/objson; fi;
        cp *.h $(HEADER_DIR)/objson/
 
 object.o:      object.h object.c