Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add docs back into packaging
  • Loading branch information
lpotter committed Dec 17, 2014
1 parent 855db77 commit 47a7c10
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/doc.pri
Expand Up @@ -34,7 +34,7 @@ for( folder, DOC_FOLDERS ) {
QMAKE_EXTRA_TARGETS += doccleantarget

# Documentation install target
documentation.path = /usr/share/doc/sensord
documentation.path = /usr/share/doc/sensord-qt5
documentation.files = doc/html
documentation.depends = docs

Expand Down
12 changes: 12 additions & 0 deletions rpm/sensorfw-qt5.spec
Expand Up @@ -73,6 +73,16 @@ Provides: config-u8500
%description configs
Sensorfw configuration files.

%package docs
Summary: API documentation for libsensord
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: doxygen

%description docs
API documentation for libsensord
Doxygen-generated API documentation for sensord.


%prep
%setup -q -n %{name}-%{version}
Expand Down Expand Up @@ -176,3 +186,5 @@ systemctl daemon-reload || :
%config %{_sysconfdir}/sensorfw/*conf
%exclude %{_sysconfdir}/sensorfw/sensord.conf

%files docs
%{_prefix}/share/doc/sensord-qt5
2 changes: 1 addition & 1 deletion sensorfw.pro
Expand Up @@ -29,7 +29,7 @@ contains(CONFIG,hybris) {
qt-api.depends = datatypes
sensord.depends = datatypes adaptors sensors chains

#include( doc/doc.pri )
include( doc/doc.pri )
include( common-install.pri )
include( common-config.pri )

Expand Down

0 comments on commit 47a7c10

Please sign in to comment.