From fbf206d17c7a992f3ab65913a001bc25a8717c91 Mon Sep 17 00:00:00 2001 From: dolphin6k Date: Sun, 7 Nov 2021 17:10:52 +0900 Subject: [PATCH] Makefile: Defined platform specific install target like as other platforms. tuxpaint.spec: Specified install target except for install-xdg. --- Makefile | 5 ++--- tuxpaint.spec | 3 ++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index dc0382c27..d66bd80e2 100644 --- a/Makefile +++ b/Makefile @@ -542,7 +542,7 @@ trans: ###### -windows_ARCH_INSTALL:= +windows_ARCH_INSTALL:=install-dlls install-tpconf-i18n macos_ARCH_INSTALL:=install-macbundle TuxPaint.dmg install-man install-importscript install-bash-completion ios_ARCH_INSTALL:=install-iosbundle install-man install-importscript install-bash-completion linux_ARCH_INSTALL:=install-xdg install-man install-importscript install-bash-completion @@ -644,8 +644,7 @@ bdist-win32: CONFDIR:=./win32/bdist \ COMPLETIONDIR:=./win32/bdist \ INCLUDE_PREFIX:=./win32/bdist/plugins/include \ - MAGIC_PREFIX:=./win32/bdist/plugins \ - windows_ARCH_INSTALL:=install-dlls install-tpconf-i18n + MAGIC_PREFIX:=./win32/bdist/plugins # "make bdist-clean" deletes the 'bdist' directory .PHONY: bdist-clean diff --git a/tuxpaint.spec b/tuxpaint.spec index 8adad8027..f110cf4c6 100644 --- a/tuxpaint.spec +++ b/tuxpaint.spec @@ -40,7 +40,8 @@ make PREFIX=%{_prefix} DOC_PREFIX=%{_docdir}/tuxpaint/en linux_ARCH_CFLAGS=-I/us %install rm -rf $RPM_BUILD_ROOT -make ARCH_INSTALL="" PREFIX=%{_prefix} DESTDIR=$RPM_BUILD_ROOT \ +make ARCH_INSTALL="install-man install-importscript install-bash-completion" \ + PREFIX=%{_prefix} DESTDIR=$RPM_BUILD_ROOT \ DOC_PREFIX=$RPM_BUILD_ROOT%{_docdir}/tuxpaint \ DEVDOC_PREFIX=$RPM_BUILD_ROOT%{_docdir}/tuxpaint/devel \ install