Also install directory for external plugins.

And remove custom target from reference .spec file.
This commit is contained in:
Ondrej Kozina
2021-08-18 12:08:12 +02:00
parent 63adb3b0cf
commit 5fa8e84ef0
3 changed files with 7 additions and 1 deletions

View File

@@ -54,3 +54,9 @@ distclean-local:
clean-local:
-rm -rf docs/doxygen_api_docs libargon2.la
install-data-local:
$(MKDIR_P) -m 0755 $(DESTDIR)/${EXTERNAL_LUKS2_TOKENS_PATH}
uninstall-local:
rmdir $(DESTDIR)/${EXTERNAL_LUKS2_TOKENS_PATH} 2>/dev/null || :

View File

@@ -30,6 +30,7 @@ AM_PROG_CC_C_O
AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_MAKE_SET
AC_PROG_MKDIR_P
AC_ENABLE_STATIC(no)
LT_INIT
PKG_PROG_PKG_CONFIG

View File

@@ -77,7 +77,6 @@ can be used for offline reencryption of disk in situ.
%install
%make_install
mkdir -p -m 0755 $RPM_BUILD_ROOT%{_libdir}/%{name}/
rm -rf %{buildroot}%{_libdir}/*.la
rm -rf %{buildroot}%{_libdir}/%{name}/*.la