From 7d1115e79e4d33365f24e0ab1d6894bb56e306d4 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 08 Oct 2012 11:03:10 -0400 Subject: Make package and metadata module dirs once. --- diff --git a/lib/metadata/Makefile.in b/lib/metadata/Makefile.in index 4f9642b..7ee2db8 100644 --- a/lib/metadata/Makefile.in +++ b/lib/metadata/Makefile.in @@ -49,9 +49,9 @@ clean: done install: all + @mkdir -p '$(DESTDIR)/$(libopkbuild)/metadata' @for obj in $(OBJS); do \ printf ' INSTALL lib/metadata/%s\n' "$${obj}"; \ - mkdir -p '$(DESTDIR)/$(libopkbuild)/metadata'; \ cp "$${obj}" "$(DESTDIR)/$(libopkbuild)/metadata/$${obj}"; \ chmod 644 "$(DESTDIR)/$(libopkbuild)/metadata/$${obj}"; \ done diff --git a/lib/package/Makefile.in b/lib/package/Makefile.in index 98cd9f0..862a55e 100644 --- a/lib/package/Makefile.in +++ b/lib/package/Makefile.in @@ -49,9 +49,9 @@ clean: done install: all + @mkdir -p '$(DESTDIR)/$(libopkbuild)/package' @for obj in $(OBJS); do \ printf ' INSTALL lib/package/%s\n' "$${obj}"; \ - mkdir -p '$(DESTDIR)/$(libopkbuild)/package'; \ cp "$${obj}" "$(DESTDIR)/$(libopkbuild)/package/$${obj}"; \ chmod 644 "$(DESTDIR)/$(libopkbuild)/package/$${obj}"; \ done -- cgit v0.9.1