how to deploy js files in rpm [duplicate]

asked 2018-12-21 16:16:54 +0300

pawel gravatar image

updated 2018-12-21 16:26:37 +0300

hi sailors, after struggeling for hours with squeeze-ui-remote : everything that is below qml gets deployed, but everything out-side not. as a workaround i have moved the files, but i consider that ugly

the structure is like:

\rpm

 \qml
 \src
       my-app.cpp

       \js (contains some script files)

the js files are include in pro file, but they never get into rpm.

can you please help me ?

p.s.

one trial was to extend spec file with that:

%{_datadir}/%{name}/src/js/common/slimproto.js

but nothing.

edit retag flag offensive reopen delete

The question has been closed for the following reason "duplicate question" by pawel
close date 2018-12-22 13:52:01.721620

Comments

2

.pro file:

js.path = /usr/share/harbour-myapp/js
js.files = js/*

INSTALLS += js

or other paths relative to this...

cy8aer ( 2018-12-21 20:42:29 +0300 )edit