diff options
| author | Petr Spacek <pspacek@redhat.com> | 2016-11-10 12:07:03 +0100 |
|---|---|---|
| committer | Martin Basti <mbasti@redhat.com> | 2016-11-15 17:00:32 +0100 |
| commit | 636aaa7dbc649e685233f382cb8dd424345bebd3 (patch) | |
| tree | 695cdfebbe6673fdc7d8c01cf869127b8896dbda | |
| parent | 4df1d9d1a566af57b23d45ca4377ab77ed9e4d60 (diff) | |
| download | freeipa-636aaa7dbc649e685233f382cb8dd424345bebd3.tar.gz freeipa-636aaa7dbc649e685233f382cb8dd424345bebd3.tar.xz freeipa-636aaa7dbc649e685233f382cb8dd424345bebd3.zip | |
Build: move client directory handling from SPEC to Makefile.am
This is next step towards fully functional make install.
https://fedorahosted.org/freeipa/ticket/6418
Reviewed-By: Christian Heimes <cheimes@redhat.com>
| -rw-r--r-- | client/Makefile.am | 3 | ||||
| -rw-r--r-- | freeipa.spec.in | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/client/Makefile.am b/client/Makefile.am index 0a451e593..4c29ee708 100644 --- a/client/Makefile.am +++ b/client/Makefile.am @@ -122,3 +122,6 @@ MAINTAINERCLEANFILES = \ version.m4 \ $(NULL) +install-data-hook: + $(INSTALL) -d -m 755 $(DESTDIR)$(IPA_SYSCONF_DIR)/nssdb + $(INSTALL) -d -m 755 $(DESTDIR)$(localstatedir)/lib/ipa-client/sysrestore diff --git a/freeipa.spec.in b/freeipa.spec.in index 7dbbf87a8..4e39b3c19 100644 --- a/freeipa.spec.in +++ b/freeipa.spec.in @@ -804,11 +804,8 @@ touch %{buildroot}%{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so mkdir -p %{buildroot}/%{_localstatedir}/lib/ipa/backup %endif # ONLY_CLIENT -mkdir -p %{buildroot}%{_sysconfdir}/ipa/ /bin/touch %{buildroot}%{_sysconfdir}/ipa/default.conf /bin/touch %{buildroot}%{_sysconfdir}/ipa/ca.crt -mkdir -p %{buildroot}%{_sysconfdir}/ipa/nssdb -mkdir -p %{buildroot}/%{_localstatedir}/lib/ipa-client/sysrestore %if ! %{ONLY_CLIENT} mkdir -p %{buildroot}%{_sysconfdir}/cron.d |
