[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@suse.com SUSE -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
participants (1)
-
Ladislav Slezak