From: Steven Barth Date: Fri, 11 Apr 2008 19:30:16 +0000 (+0000) Subject: * Guess what... fixed Makefile... X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=d0acd217b18cde532d50a45e74e05f60aeb6e4b4;p=openwrt-luci.git * Guess what... fixed Makefile... --- diff --git a/core/Makefile b/core/Makefile index 4583963577..3fb7f6df8d 100644 --- a/core/Makefile +++ b/core/Makefile @@ -21,7 +21,7 @@ all: compile depends: mkdir -p $(OUTDIRS) - for i in $(CPFILES); do if [ -f "$i" ]; then i=$$(echo $$i | cut -d/ -f2-); \ + for i in $(CPFILES); do if [ -f "$$i" ]; then i=$$(echo $$i | cut -d/ -f2-); \ mkdir -p dist/$$(dirname $$i); cp src/$$i dist/$$i; fi; done compile: depends diff --git a/module/admin-core/Makefile b/module/admin-core/Makefile index 84c2277ddb..708c1c2398 100644 --- a/module/admin-core/Makefile +++ b/module/admin-core/Makefile @@ -18,15 +18,15 @@ all: compile depends: mkdir -p $(OUTDIRS) - for i in $(CPFILES); do if [ -f "$i" ]; then i=$$(echo $$i | cut -d/ -f2-); \ + for i in $(CPFILES); do if [ -f "$$i" ]; then i=$$(echo $$i | cut -d/ -f2-); \ mkdir -p dist/$$(dirname $$i); cp src/$$i dist/$$i; fi; done compile: depends - for i in $(INFILES); do if [ -f "$i" ]; then i=$$(echo $$i | cut -d/ -f2-); \ + for i in $(INFILES); do if [ -f "$$i" ]; then i=$$(echo $$i | cut -d/ -f2-); \ mkdir -p dist/$$(dirname $$i); $(LUAC) $(LUAC_OPTIONS) -o dist/$$i src/$$i; fi; done source: depends - for i in $(INFILES); do if [ -f "$i" ]; then i=$$(echo $$i | cut -d/ -f2-); \ + for i in $(INFILES); do if [ -f "$$i" ]; then i=$$(echo $$i | cut -d/ -f2-); \ mkdir -p dist/$$(dirname $$i); cp src/$$i dist/$$i; fi; done diff --git a/module/public-core/Makefile b/module/public-core/Makefile index a4ac9fc0e5..113799af6c 100644 --- a/module/public-core/Makefile +++ b/module/public-core/Makefile @@ -19,15 +19,15 @@ all: compile depends: mkdir -p $(OUTDIRS) - for i in $(CPFILES); do if [ -f "$i" ]; then i=$$(echo $$i | cut -d/ -f2-); \ + for i in $(CPFILES); do if [ -f "$$i" ]; then i=$$(echo $$i | cut -d/ -f2-); \ mkdir -p dist/$$(dirname $$i); cp src/$$i dist/$$i; fi; done compile: depends - for i in $(INFILES); do if [ -f "$i" ]; then i=$$(echo $$i | cut -d/ -f2-); \ + for i in $(INFILES); do if [ -f "$$i" ]; then i=$$(echo $$i | cut -d/ -f2-); \ mkdir -p dist/$$(dirname $$i); $(LUAC) $(LUAC_OPTIONS) -o dist/$$i src/$$i; fi; done source: depends - for i in $(INFILES); do if [ -f "$i" ]; then i=$$(echo $$i | cut -d/ -f2-); \ + for i in $(INFILES); do if [ -f "$$i" ]; then i=$$(echo $$i | cut -d/ -f2-); \ mkdir -p dist/$$(dirname $$i); cp src/$$i dist/$$i; fi; done