RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Pinto Elia
  Root:   /v/rpm/cvs                       Email:  devzero2...@rpm5.org
  Module: popt                             Date:   19-Dec-2013 19:01:07
  Branch: HEAD                             Handle: 2013121918010700

  Modified files:
    popt                    CHANGES Makefile.am configure.ac

  Log:
    add cppcheck conditional makefile target

  Summary:
    Revision    Changes     Path
    1.190       +1  -0      popt/CHANGES
    1.86        +7  -0      popt/Makefile.am
    1.91        +3  -0      popt/configure.ac
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: popt/CHANGES
  ============================================================================
  $ cvs diff -u -r1.189 -r1.190 CHANGES
  --- popt/CHANGES      30 Jul 2013 12:48:04 -0000      1.189
  +++ popt/CHANGES      19 Dec 2013 18:01:07 -0000      1.190
  @@ -1,4 +1,5 @@
   1.17 -> 2.0:
  +    - devzero2000: add cppcheck conditional makefile target
       - devzero2000: drop expr syntax error in make check under dash
       - devzero2000: Print to the end of the configure phase the options we 
have
         enabled and their results on the basis of the target system
  @@ .
  patch -p0 <<'@@ .'
  Index: popt/Makefile.am
  ============================================================================
  $ cvs diff -u -r1.85 -r1.86 Makefile.am
  --- popt/Makefile.am  4 Jul 2013 00:25:14 -0000       1.85
  +++ popt/Makefile.am  19 Dec 2013 18:01:07 -0000      1.86
  @@ -158,6 +158,13 @@
   
   endif
   
  +if HAVE_CPPCHECK
  +cppcheck:
  +     $(CPPCHECK) -I $(includedir) --enable=all $(libpopt_la_SOURCES)
  +
  +endif
  +
  +
   if DOXYGEN_ENABLE
   doxygen: Doxyfile
        rm -rf doxygen
  @@ .
  patch -p0 <<'@@ .'
  Index: popt/configure.ac
  ============================================================================
  $ cvs diff -u -r1.90 -r1.91 configure.ac
  --- popt/configure.ac 8 Jul 2013 04:43:02 -0000       1.90
  +++ popt/configure.ac 19 Dec 2013 18:01:07 -0000      1.91
  @@ -289,6 +289,9 @@
   # Check for mccabe makefile conditional support
   AC_PATH_PROG(MCCABE,pmccabe,NO_MCCABE)
   AM_CONDITIONAL([HAVE_MCCABE],[test "x$MCCABE" != xNO_MCCABE])
  +# Check for cppcheck makefile conditional support
  +AC_PATH_PROG(CPPCHECK,cppcheck,NO_CPPCHECK)
  +AM_CONDITIONAL([HAVE_CPPCHECK],[test "x$CPPCHECK" != xNO_CPPCHECK])
   # Checks for libraries.
   
   # Checks for header files.
  @@ .
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
CVS Sources Repository                                rpm-cvs@rpm5.org

Reply via email to