Mailinglist Archive: yast-devel (73 mails)

< Previous Next >
[yast-devel] Better "lib/" and "control/" Yast subpath support in devtools

Hi,

I have added new macros for handling "lib/" and "control/" Yast subpaths in
devtools.


For "lib/" subpath you can now write this in Makefile.am:

ylibdir = @ylibdir@/foo
ylib_DATA = lib/foo/bar.rb


and in *.spec:

%dir %{yast_libdir}/foo
%{yast_libdir}/foo/bar.rb



For "control/" subpath:

Makefile.am:

control_DATA = foo.xml

(remove the "controldir" specification if present, it's now defined globally
in devtools)

*.spec:

%dir %{yast_controldir}
%{yast_controldir}/foo.xml


Note: this requires yast2-devtools >= 3.1.15, update the dependencies
accordingly

You can check these pull requests, if you want to see some examples:
https://github.com/yast/yast-network/pull/143/files
https://github.com/yast/yast-network/pull/144/files


--

Ladislav Slez√°k
Appliance department / YaST Developer
Lihovarsk√° 1060/12
190 00 Prague 9 / Czech Republic
tel: +420 284 028 960
lslezak@xxxxxxxx
SUSE
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages