[Pm-utils] Should not clean manpages

Tim Dijkstra newsuser at famdijkstra.org
Mon Mar 26 12:51:36 PDT 2007


Hi,

Currently pm-utils ships its manpages in `compiled' form. However
on `make clean' they are removed. This leaves the casual user
without manpages in the build dir. This is somewhat inconsistent
with them being in the tarball in the first place. This is
equivalent with not removing the Makefiles on clean.

That is why I propose to only remove them on maintainer-clean.

I would also be comfortable to not ship them at all in build form,
and keep the `rm -f' on clean.

Granted, this is a very minor point, but it confuses our the debian
build system somewhat. That's why I bother to write this in the first
place ... ;)

grts Tim


Index: man/Makefile.am
===================================================================
--- man/Makefile.am     (revision 2764)
+++ man/Makefile.am     (working copy)
@@ -7,6 +7,9 @@
        pm-pmu.sgml             \
        $(man_MANS)

+MAINTAINERCLEANFILES=          \
+       $(man_MANS)
+
 pm-pmu.1: pm-pmu.sgml
        docbook2man $?

@@ -15,5 +18,4 @@

 clean-local :
        rm -f *~
-       rm -f *.1
        rm -f manpage.*



More information about the Pm-utils mailing list