Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Build for phpwind

  • Loading branch information...
commit a5e848f0882565de206c21be68468f6fa990b215 1 parent 0bf1e87
@zzdhidden zzdhidden authored
Showing with 26 additions and 6 deletions.
  1. +3 −3 .gitmodules
  2. +3 −3 Makefile
  3. +19 −0 build/phpwind.mk
  4. +1 −0  phpwind
View
6 .gitmodules
@@ -13,6 +13,6 @@
[submodule "discuz"]
path = discuz
url = git://github.com/webim/webim-for-discuz.git
-[submodule "wordpress"]
- path = wordpress
- url = git://github.com/webim/webim-for-wordpress.git
+[submodule "phpwind"]
+ path = phpwind
+ url = git://github.com/webim/webim-for-phpwind.git
View
6 Makefile
@@ -2,9 +2,9 @@ PREFIX = .
UI_DIR = ${PREFIX}/ui
UI_DIST_DIR = ${UI_DIR}/dist
-all: build_uchome build_discuzX build_discuz build_wordpress
+all: build_uchome build_discuzX build_discuz build_phpwind
-clean: clean_uchome clean_discuzX clean_discuz clean_wordpress
+clean: clean_uchome clean_discuzX clean_discuz clean_phpwind
${UI_DIR}:
@@git submodule update --init ui
@@ -12,4 +12,4 @@ ${UI_DIR}:
include build/uchome.mk
include build/discuzX.mk
include build/discuz.mk
-include build/wordpress.mk
+include build/phpwind.mk
View
19 build/phpwind.mk
@@ -0,0 +1,19 @@
+build_phpwind: ${PREFIX}/phpwind/static
+
+${PREFIX}/phpwind/static: ${PREFIX}/phpwind ${UI_DIST_DIR}/phpwind
+ @@echo "Copy static"
+ @@cp -r ${UI_DIST_DIR}/phpwind ${PREFIX}/phpwind/static
+ @@echo " "${PREFIX}/phpwind/static
+
+${UI_DIST_DIR}/phpwind: ${UI_DIR}
+ @@echo "Build static..."
+ $(MAKE) phpwind -C ${UI_DIR}
+
+${PREFIX}/phpwind:
+ @@git submodule update --init phpwind
+
+clean_phpwind:
+ $(MAKE) clean_phpwind -C ${UI_DIR}
+ @@echo "Removing Distribution directory:" ${PREFIX}/phpwind/static
+ @@rm -rf ${PREFIX}/phpwind/static
+
1  phpwind
@@ -0,0 +1 @@
+Subproject commit 716048fa1f5e8407e5042d78a27f7f01ae820e78
Please sign in to comment.
Something went wrong with that request. Please try again.