From c03b688e985781eea828c2857cbc4cbf56e5b353 Mon Sep 17 00:00:00 2001 From: Will Thompson Date: Wed, 29 Jun 2022 12:40:44 +0100 Subject: [PATCH] Create metainfo directory with 'install' The -D argument to install, together with -t DEST, means "ensure DEST exists". --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c1688d550..3500e79f5 100644 --- a/Makefile +++ b/Makefile @@ -960,8 +960,7 @@ install-xdg: src/tuxpaint.desktop src/org.tuxpaint.Tuxpaint.metainfo.xml @if [ "x$(shell which update-desktop-database)" != "x" ]; then \ update-desktop-database ; \ fi - @mkdir -p $(METAINFO_PREFIX) - install --mode=0644 -t $(METAINFO_PREFIX) src/org.tuxpaint.Tuxpaint.metainfo.xml + install --mode=0644 -Dt $(METAINFO_PREFIX) src/org.tuxpaint.Tuxpaint.metainfo.xml # Install the PNG icon (for KDE desktop, etc.) # and the 24-color 32x32 XPM (for other Window managers):