RPM Community Forums

Mailing List Message of <rpm-cvs>

[CVS] RPM: rpm/perl/ Makefile.am

From: Ralf S. Engelschall <rse@rpm5.org>
Date: Sat 28 Jul 2007 - 09:07:31 CEST
Message-Id: <20070728070731.7A9723484F3@rpm5.org>
  RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Ralf S. Engelschall
  Root:   /v/rpm/cvs                       Email:  rse@rpm5.org
  Module: rpm                              Date:   28-Jul-2007 09:07:31
  Branch: HEAD                             Handle: 2007072808073100

  Modified files:
    rpm/perl                Makefile.am

  Log:
    do not use $< in regular rules for maximum portability; use -f xx
    instead of -fxx for maximum portability; fix syntax error 'them'; use
    standard Bourne-Shell syntax instead of Autoconf-style plain syntax
    for 'if' expression

  Summary:
    Revision    Changes     Path
    1.5         +5  -4      rpm/perl/Makefile.am
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/perl/Makefile.am
  ============================================================================
  $ cvs diff -u -r1.4 -r1.5 Makefile.am
  --- rpm/perl/Makefile.am	27 Jul 2007 22:31:12 -0000	1.4
  +++ rpm/perl/Makefile.am	28 Jul 2007 07:07:31 -0000	1.5
  @@ -7,16 +7,17 @@
   noinst_DATA = .made_mod
   
   .made_mod: Makefile.perl RPM.xs
  -	$(MAKE) -fMakefile.perl
  +	$(MAKE) -f Makefile.perl
   	touch $@
   
   Makefile.perl: Makefile.PL
  -	$(PERL) $< MAKEFILE=$@
  +	$(PERL) Makefile.PL MAKEFILE=$@
   
   install-data-local:
  -	$(MAKE) -fMakefile.perl PREFIX=$(prefix) install
  +	$(MAKE) -f Makefile.perl PREFIX=$(prefix) install
   
   CLEANFILES = *~
   clean-local:
  -	if test -f Makefile.perl; them $(MAKE) -fMakefile.perl realclean; fi
  +	if [ -f Makefile.perl ]; then $(MAKE) -f Makefile.perl realclean; fi
   	rm -f Makefile.perl Makefile.perl.old
  +
  @@ .
Received on Sat Jul 28 09:07:31 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.