[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Make syntax $(srcdir) in Makefile.am problem
From: |
Daniel Leidert |
Subject: |
Re: Make syntax $(srcdir) in Makefile.am problem |
Date: |
Tue, 12 Feb 2008 16:57:18 +0100 |
Am Dienstag, den 12.02.2008, 10:39 -0500 schrieb db:
> I am trying to run automake command in Fedora 7 (automake 1.10). Automake
> fails due to GNU make extension:
>
> priv/Makefile.am:52: shell cat $(srcdir: non-POSIX variable name
> priv/Makefile.am:52: (probably a GNU make extension)
>
> Makefile.am content, where the problem is:
> $(shell cat $(srcdir)/test_con.txt)
>
> This means you can't have gnu make $(srcdir) syntax?
No. It means that
$(shell ...)
is a GNU make extension. The warning (it's normally not an error except
-Werror is used) is not related to $(srcdir).
Regards, Daniel