bug-coreutils
[Top][All Lists]
Advanced

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

small build fixes


From: Ralf Wildenhues
Subject: small build fixes
Date: Thu, 12 Oct 2006 20:53:50 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

I suggest this tiny patch to have less leftover files after a
maintainer-clean, and add one missing $(srcdir).

Cheers,
Ralf

2006-10-12  Ralf Wildenhues  <address@hidden>

        * Makefile.am (THANKS-to-translators): Add missing $(srcdir).
        (MAINTAINERCLEANFILES): Add .kludge-stamp.
        * man/Makefile.am (MAINTAINERCLEANFILES): Typo $(dist_man_MANS)
        instead of $(man_MANS).

Index: Makefile.am
===================================================================
RCS file: /cvsroot/coreutils/coreutils/Makefile.am,v
retrieving revision 1.29
diff -u -r1.29 Makefile.am
--- Makefile.am 23 Sep 2006 17:00:29 -0000      1.29
+++ Makefile.am 12 Oct 2006 18:52:20 -0000
@@ -73,16 +73,17 @@
 
 rm_subst = \
   s!(rm -f (rm|\$$\(bin_PROGRAMS\)))$$!$$1 > /dev/null 2>&1 || /bin/$$1!
+MAINTAINERCLEANFILES = .kludge-stamp
 .kludge-stamp: $(srcdir)/src/Makefile.in
        perl -pi -e '$(rm_subst)' $(srcdir)/src/Makefile.in
        touch $@
 
 
-MAINTAINERCLEANFILES = THANKS-to-translators
+MAINTAINERCLEANFILES += THANKS-to-translators
 THANKS-to-translators: po/LINGUAS THANKStt.in
        (                                                               \
          cat $(srcdir)/THANKStt.in;                                    \
-         for lang in `cat po/LINGUAS`; do                              \
+         for lang in `cat $(srcdir)/po/LINGUAS`; do                            
\
            echo http://www.iro.umontreal.ca/contrib/po/HTML/team-$$lang.html; \
          done;                                                         \
        ) > address@hidden && mv address@hidden $@
Index: man/Makefile.am
===================================================================
RCS file: /cvsroot/coreutils/coreutils/man/Makefile.am,v
retrieving revision 1.43
diff -u -r1.43 Makefile.am
--- man/Makefile.am     17 Aug 2006 19:58:24 -0000      1.43
+++ man/Makefile.am     12 Oct 2006 18:52:21 -0000
@@ -35,7 +35,7 @@
 man_aux = $(dist_man_MANS:.1=.x)
 
 EXTRA_DIST = $(man_aux) help2man
-MAINTAINERCLEANFILES = $(man_MANS)
+MAINTAINERCLEANFILES = $(dist_man_MANS)
 
 # Depend on configure.ac to get version number changes.
 common_dep = $(top_srcdir)/configure.ac




reply via email to

[Prev in Thread] Current Thread [Next in Thread]