Commit f104c85f authored by Marko Mattila's avatar Marko Mattila

Fixed doc packaging

parent 7c9c531b
......@@ -76,7 +76,7 @@ Documentation for Nemo TransferEngine
%files doc
%defattr(-,root,root,-)
/usr/share/doc/nemo-transfer-engine/*
%{_datadir}/doc/nemo-transferengine/*
......@@ -95,6 +95,9 @@ rm -rf %{buildroot}
mkdir -p %{buildroot}/%{_datadir}/nemo-transferengine
%qmake_install
mkdir -p %{buildroot}/%{_docdir}/%{name}
cp -R doc/html/* %{buildroot}/%{_docdir}/%{name}/
%define def_uid $(grep "^UID_MIN" /etc/login.defs | tr -s " " | cut -d " " -f2)
%define def_user $(getent passwd %def_uid | sed 's/:.*//')
%define db_file /home/%{def_user}/.local/nemo-transferengine/transferdb.sqlite
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment