Hi,

I'd like to set conditions on variables in a make file to do:

ifndef $(APP_DIR)
APP_DIR=/usr/share
endif

This works on Debian, however on FreeBSD, it doesn't work, and I have to
write this:

.ifndef $(APP_DIR)
APP_DIR=/usr/share
.endif

Is there something that is compatible with both that I could use?

Also, in FreeBSD, the install program doesn't accept the -D parameter
when installing a file. How can I test this in a Makefile?

Thomas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to