[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dh_install globbing



> * Dmitry Bogatov <KAction@gnu.org>, 2016-05-30, 18:27:
> >I want dh_install to install according following globbing:
> >
> >	src/doc/*[a-z].html /usr/share/doc/runit/html
> >
> >(There is also html pages in form foo.1.html, which duplicate man=20
> >pages. I do not want to install them.)
> >
> >But it does not work -- nothing is installed. dh_install(1) does not=20
> >specify glob rules, but plain star (src/doc/*.html) works.
> 
> The rules are documented in debhelper(1) manpage: =E2=80=9Cyou can use st=
> andard=20
> shell wildcard characters (? and * and [..] character classes) in the=20
> [config] files=E2=80=9D.
> 
> Even if [] wasn't supported, in compat >=3D5 dh_install is supposed to=20
> fail if wildcard expands to nothing.
> 
> Can you show us the source package, so that we can see what's going on?

Sure.

  $ git clone -b demonstrate https://anonscm.debian.org/cgit/users/kaction-guest/runit.git/

Glob in 'runit.install'. Try to build package, and notice, that no
html files installed at all.

-- 
Accept: text/plain, text/x-diff
Accept-Language: eo,en,ru
X-Keep-In-CC: yes
X-Web-Site: sinsekvu.github.io


Reply to: