buildsys: don't cache non-binary data
etc/ and www/ should be clean in the build/ dir Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
844d13326b
commit
b369f720f5
5
Makefile
5
Makefile
|
@ -55,6 +55,8 @@ build:
|
|||
rm -rf build
|
||||
rsync -a debian Makefile defines.mk Cargo.toml src $(SUBDIRS) build/
|
||||
test -d target && rsync -a target build/ || true
|
||||
$(foreach i,$(SUBDIRS), \
|
||||
$(MAKE) -C build/$(i) clean ;)
|
||||
|
||||
.PHONY: deb
|
||||
deb: $(DEB)
|
||||
|
@ -71,7 +73,8 @@ $(DSC): build
|
|||
distclean: clean
|
||||
|
||||
clean:
|
||||
$(MAKE) -C www clean
|
||||
$(foreach i,$(SUBDIRS), \
|
||||
$(MAKE) -C $(i) clean ;)
|
||||
cargo clean
|
||||
rm -rf *.deb *.dsc *.tar.gz *.buildinfo *.changes build
|
||||
find . -name '*~' -exec rm {} ';'
|
||||
|
|
Loading…
Reference in New Issue