Package: console-setup
Version: 1.166
Severity: normal
Tags: patch

Hi there,

In Ubuntu's installer (ubiquity), we want to generate KeyboardNames.pl.
We do so in approximately this way:

  $ make -C d-i/source/console-setup/Keyboard KeyboardNames.pl

Unfortunately this stopped working once we got a release that included
739ea571984c140fa7e2e5b5b12a9b8f8ca77992. This included the change:

  -KeyboardNames.pl:
  -     ./xmlreader $(xkbdir)/rules/xorg.xml >KeyboardNames.pl

  +$./KeyboardNames.pl:
  +  $(kbddir)/xmlreader $(xkbdir)/rules/xorg.xml >$@

Now we get:

  root@probable-ewe:~/console-setup/Keyboard# rm KeyboardNames.pl
  root@probable-ewe:~/console-setup/Keyboard# make KeyboardNames.pl
  make: *** No rule to make target 'KeyboardNames.pl'.  Stop.

When trying to make the file. Is there an invocation we can use to generate the
file? Otherwise, what about including a change like:

diff --git a/Keyboard/Makefile b/Keyboard/Makefile
index 08c9fef..ee12d96 100644
--- a/Keyboard/Makefile
+++ b/Keyboard/Makefile
@@ -82,5 +82,5 @@ maintainer-clean .PHONY : $~maintainer-clean
 $~maintainer-clean: $~clean
        cd $(kbddir) && ./xmlreader >KeyboardNames.pl
 
-$./KeyboardNames.pl:
+KeyboardNames.pl $./KeyboardNames.pl:
        $(kbddir)/xmlreader $(xkbdir)/rules/xorg.xml >$@

please?

Cheers,

-- 
Iain Lane                                  [ i...@orangesquash.org.uk ]
Debian Developer                                   [ la...@debian.org ]
Ubuntu Developer                                   [ la...@ubuntu.com ]

Reply via email to