Makefile: Defined platform specific install target like as other platforms.

tuxpaint.spec: Specified install target except for install-xdg.
This commit is contained in:
dolphin6k 2021-11-07 17:10:52 +09:00
parent 46dd77fdb5
commit fbf206d17c
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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