ezmlm-web-archiv/ezmlm-web-3.2/suid-wrapper/Makefile
lars 3c02ffac2f updated changelog date
removed TODO file from release
tagged the v3.2 release
2007-08-15 17:39:45 +00:00

15 lines
549 B
Makefile

# Makefile to compile the binary suid-wrapper for ezmlm-web
#
# REALINSTALLBIN should be defined in the higher level Makefile
.PHONY: build clean
build:
$(NOECHO) echo "#define EZMLM_WEB_CGI \"$(REALINSTALLBIN)/ezmlm-web.cgi\"" >index.h
$(CC) -o index.cgi index.c
sed 's#^EZMLM_WEB_SUID_WRAPPER=.*$$#EZMLM_WEB_SUID_WRAPPER=$(REALINSTALLBIN)/ezmlm-web.wrapper#' ezmlm-web-make-suid >ezmlm-web-make-suid.configured
clean:
-rm index.cgi ezmlm-web-make-suid.configured
$(NOECHO) echo "#define EZMLM_WEB_CGI \"/usr/bin/ezmlm-web.cgi\"" >index.h