mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 19:01:56 +00:00
* Guess what... fixed Makefile...
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user