[Pkg-kde-talk] Splitting kde.mk

Achim Bohnet ach@mpe.mpg.de
Tue, 26 Apr 2005 10:50:38 +0200


On Monday 25 April 2005 23:20, Christopher Martin wrote:
> On April 25, 2005 15:05, Achim Bohnet wrote:
> > some thoughts debian-qt-kde.mk
> 
> I really appreciate you taking the time!
> 
> > 	o apidoc stuff maybe useful for other kde pkgs ==> kde.mk ??
> > 	  E.g., apidoc infrasturcture was added to keg-3 this weekend.
> 
> Ah, I had no idea. Unless anyone objects, I think I will move the apidox 
> targets to kde.mk. They are KDE specific, and if they're of general 
> utility, it seems reasonable to place them there.
> 
> > 	o [ .. ] || only used once in the cdbs mk files ==> if test ...; then...
> 
> Sorry, could you expand on the problem here?

It's not a problem.  Only for consistency/cosmetic:

Index: debian-qt-kde.mk
===================================================================
--- debian-qt-kde.mk    (revision 1035)
+++ debian-qt-kde.mk    (working copy)
@@ -36,7 +36,7 @@

 common-build-arch:: debian/stamp-man-pages
 debian/stamp-man-pages:
-       [ -d debian/man/out ] || mkdir -p debian/man/out
+       if test -d debian/man/out; then mkdir -p debian/man/out; fi
        for f in $$(find debian/man -name '*.sgml'); do \
                docbook-to-man $$f > debian/man/out/`basename $$f .sgml`.1; \
        done

> 
> > 	o .sgml manpages are always converted to .1 manpages.  Maybe it's
> > 	  true for all qt-kde pkgs, maybe dh_installman does not care and
> > 	  always uses .TH.  Just want to mention it.
> 
> Yes, I noticed that. At the moment, we have no sgml manpages that aren't 
> supposed to be .1, so it's not a problem, but it would be nice to parse the 
> sgml files and extract the section, so in future we don't have any 
> problems. Patches welcome :)

As soon as I write my first non-.1 sgml manpage ;)

Achim
> 
> Cheers,
> Christopher Martin
> 

-- 
  To me vi is Zen.  To use vi is to practice zen. Every command is
  a koan. Profound to the user, unintelligible to the uninitiated.
  You discover truth everytime you use it.
                                      -- reddy@lion.austin.ibm.com