From: Steven Barth Date: Fri, 11 Apr 2008 19:30:16 +0000 (+0000) Subject: * Guess what... fixed Makefile... X-Git-Tag: 0.8.0~1136 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d0acd217b18cde532d50a45e74e05f60aeb6e4b4;p=oweals%2Fluci.git * Guess what... fixed Makefile... --- diff --git a/core/Makefile b/core/Makefile index 458396357..3fb7f6df8 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 84c2277dd..708c1c239 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 a4ac9fc0e..113799af6 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