[Flac-dev] Warnings with automake-1.10

Erik de Castro Lopo erikd-flac at mega-nerd.com
Mon Sep 10 02:45:59 PDT 2007


Josh,

Automake 1.10 on OSX is giving me warnings like the following:

    test/Makefile.am:50: wildcard *.raw: non-POSIX variable name
    test/Makefile.am:50: (probably a GNU make extension)
    test/Makefile.am:50: wildcard *.flac: non-POSIX variable name
    test/Makefile.am:50: (probably a GNU make extension)
    test/Makefile.am:50: wildcard *.oga: non-POSIX variable name
    test/Makefile.am:50: (probably a GNU make extension)

which is complaining about things like this:

    CLEANFILES = \
        $(wildcard *.raw) \
        $(wildcard *.flac) \
        $(wildcard *.oga) \
        $(wildcard *.ogg) \
        $(wildcard *.cmp) \
        $(wildcard *.aiff) \

I did some research:

    http://www.cygwin.com/ml/automake/2000-07/msg00013.html
    http://www.gnu.org/software/automake/manual/html_node/wildcards.html
    http://www.gnu.org/software/automake/manual/automake.html#index-clean_002dlocal-737

and it seems that the correct way to do what you want is:

    clean-local:
        -rm -f *.raw *.flac *.oga *.ogg *.cmp *.aiff

Do you want to do this or should I send a patch?

Erik
-- 
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
"War is deceit."
-- Islam's prophet Mohammed (Hadith 4:268)


More information about the Flac-dev mailing list