make-rules/ips.mk
changeset 369 cc8c00719da9
parent 255 52abf74b9323
child 379 c6a17bba1da3
--- a/make-rules/ips.mk	Wed Jul 06 02:16:21 2011 +0200
+++ b/make-rules/ips.mk	Tue Jul 05 19:16:33 2011 -0700
@@ -120,13 +120,13 @@
 	cat $(METADATA_TEMPLATE) $< >[email protected]
 
 # mogrify the manifest
-$(MANIFEST_BASE)-%.mogrified:	%.p5m canonical-manifests
+$(MANIFEST_BASE)-%.mogrified:	%.p5m $(BUILD_DIR) canonical-manifests
 	$(PKGMOGRIFY) $(PKG_OPTIONS) $< \
 		$(PUBLISH_TRANSFORMS) | \
 		sed -e '/^$$/d' -e '/^#.*$$/d' | uniq >[email protected]
 
 # mangle the file contents
-$(MANGLED_DIR):
+$(BUILD_DIR) $(MANGLED_DIR):
 	$(MKDIR) [email protected]
 
 PKGMANGLE_OPTIONS = -D $(MANGLED_DIR) $(PKG_PROTO_DIRS:%=-d %)