Makefile rules are not portable but easily fixable!
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
intltool |
New
|
Undecided
|
Unassigned |
Bug Description
The rules like this:
%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)
can work only in GNU make. And fix is very simple, such rule should be converted into:
.SUFFIXES: .directory.in .directory
.directory.
That's all, it will work with any make known to me (GNU, FreeBSD, OpenBSD, Solaris).
Fix it, please, we continue to get complains from users that our packages cannot build without GNU make.
Thank you in advance.
Oh, I had to think more and actually test it on BSD. I missed another GNU thing - $(wildcard ...).
I'm sorry but I believe there is a solution for it also.