← Back to team overview

sts-sponsors team mailing list archive

[Merge] ~ack/maas:makefile-ensure-source-package-dir into maas:master

 

Alberto Donato has proposed merging ~ack/maas:makefile-ensure-source-package-dir into maas:master.

Commit message:
Makefile: ensure dir exists before preparing source tree



Requested reviews:
  MAAS Maintainers (maas-maintainers)

For more details, see:
https://code.launchpad.net/~ack/maas/+git/maas/+merge/439721
-- 
Your team MAAS Maintainers is requested to review the proposed merge of ~ack/maas:makefile-ensure-source-package-dir into maas:master.
diff --git a/Makefile b/Makefile
index cbe8338..3515ceb 100644
--- a/Makefile
+++ b/Makefile
@@ -328,9 +328,11 @@ packaging-orig-targz := $(packaging-dir).orig.tar.gz
 
 go_bins_vendor := src/host-info/vendor
 
+$(packaging-build-area):
+	mkdir -p $@
+
 -packaging-clean:
 	rm -rf $(packaging-build-area)
-	mkdir -p $(packaging-build-area)
 .PHONY: -packaging-clean
 
 -packaging-export-orig: $(UI_BUILD) $(OFFLINE_DOCS) $(packaging-build-area)

Follow ups