* Fixed buildscripts

This commit is contained in:
Steven Barth 2008-05-08 16:46:00 +00:00
parent 6ae8e58510
commit e650f6bc5f
2 changed files with 4 additions and 4 deletions

View file

@ -16,7 +16,7 @@ clean:
host: build
mkdir -p host/ffluci
for i in $(MODULES); do cp $$i/dist$(LUCI_INSTALLDIR) host/ffluci -R; done
for i in $(MODULES); do cp $$i/dist$(LUCI_INSTALLDIR) host/ -R 2>/dev/null || true; done
hostclean:
rm host -rf
rm host -rf

View file

@ -4,8 +4,8 @@ all: compile
source:
mkdir -p dist$(LUCI_INSTALLDIR)
[ -d root ] && cp root/* dist -R
[ -d src ] && cp src/* dist$(LUCI_INSTALLDIR) -R
cp root/* dist -R 2>/dev/null || true
cp src/* dist$(LUCI_INSTALLDIR) -R 2>/dev/null || true
for i in $$(find dist -name .svn); do rm $$i -rf; done
compile: source