Fix building $(srcdir)/static
Fixes mv: cannot move './static/bootstrap-4.3.1-dist' to './static/bootstrap/bootstrap-4.3.1-dist': Directory not empty when 'make' is called more than once.
This commit is contained in:
parent
b550145967
commit
9bb3e30a46
|
@ -22,9 +22,11 @@ nobase_hydra_DATA = $(EXTRA_DIST)
|
||||||
all:
|
all:
|
||||||
mkdir -p $(srcdir)/static/js
|
mkdir -p $(srcdir)/static/js
|
||||||
unzip -u -d $(srcdir)/static $(BOOTSTRAP)
|
unzip -u -d $(srcdir)/static $(BOOTSTRAP)
|
||||||
|
rm -rf $(srcdir)/static/bootstrap
|
||||||
mv $(srcdir)/static/$(basename $(BOOTSTRAP)) $(srcdir)/static/bootstrap
|
mv $(srcdir)/static/$(basename $(BOOTSTRAP)) $(srcdir)/static/bootstrap
|
||||||
unzip -u -d $(srcdir)/static/js $(FLOT)
|
unzip -u -d $(srcdir)/static/js $(FLOT)
|
||||||
unzip -u -d $(srcdir)/static $(FONTAWESOME)
|
unzip -u -d $(srcdir)/static $(FONTAWESOME)
|
||||||
|
rm -rf $(srcdir)/static/fontawesome
|
||||||
mv $(srcdir)/static/$(basename $(FONTAWESOME)) $(srcdir)/static/fontawesome
|
mv $(srcdir)/static/$(basename $(FONTAWESOME)) $(srcdir)/static/fontawesome
|
||||||
|
|
||||||
install-data-local: $(ZIPS)
|
install-data-local: $(ZIPS)
|
||||||
|
|
Loading…
Reference in a new issue