Makefile

changeset 18
73aacbf6e492
parent 6
ce8fecc9847d
child 31
280250e45ba6
equal deleted inserted replaced
17:d2a97bbeb57d 18:73aacbf6e492
51 @echo "copy binaries" 51 @echo "copy binaries"
52 mv work/bin/webservd work/bin/webservd.bin 52 mv work/bin/webservd work/bin/webservd.bin
53 cp work/bin/webservd.bin $(WS_INSTALL_DIR)bin/webservd 53 cp work/bin/webservd.bin $(WS_INSTALL_DIR)bin/webservd
54 rm work/bin/webservd.bin 54 rm work/bin/webservd.bin
55 @echo "copy includes" 55 @echo "copy includes"
56 cp src/server/nsapi.h $(WS_INSTALL_DIR)include/nsapi.h 56 cp src/server/public/nsapi.h $(WS_INSTALL_DIR)include/nsapi.h
57 @echo "copy scripts" 57 @echo "copy scripts"
58 sed s:%%WS_INSTALL_DIR%%:$(WS_INSTALL_DIR):g templates/bin/startserv.template > $(WS_INSTALL_DIR)bin/startserv 58 sed s:%%WS_INSTALL_DIR%%:$(WS_INSTALL_DIR):g templates/bin/startserv.template > $(WS_INSTALL_DIR)bin/startserv
59 chmod +x $(WS_INSTALL_DIR)bin/startserv 59 chmod +x $(WS_INSTALL_DIR)bin/startserv
60 @echo "copy docs" 60 @echo "copy docs"
61 cp -R templates/docs $(WS_INSTALL_DIR) 61 cp -R templates/docs $(WS_INSTALL_DIR)

mercurial