2008-02-14 18:31:23 +01:00
|
|
|
# GNUstep makefile
|
|
|
|
|
|
|
|
include ../common.make
|
|
|
|
|
2009-03-24 15:05:55 +01:00
|
|
|
WEBSERVER_RESOURCE_FILES = $(shell ls *css *ico *js *gif *png *html *txt)
|
2008-02-14 18:31:23 +01:00
|
|
|
|
|
|
|
all ::
|
|
|
|
|
|
|
|
install ::
|
2008-05-20 23:59:34 +02:00
|
|
|
@if [ -L "$(SOGO_WEBSERVERRESOURCESDIR)" ]; then \
|
|
|
|
echo "$(SOGO_WEBSERVERRESOURCESDIR) is a symbolic link (for development?). Installation skipped."; \
|
|
|
|
else \
|
|
|
|
mkdir -p $(SOGO_WEBSERVERRESOURCESDIR); \
|
2009-11-18 17:40:43 +01:00
|
|
|
cp $(WEBSERVER_RESOURCE_FILES) $(SOGO_WEBSERVERRESOURCESDIR)/; \
|
|
|
|
cp -r ckeditor $(SOGO_WEBSERVERRESOURCESDIR)/; \
|
|
|
|
rm -rf $(SOGO_WEBSERVERRESOURCESDIR)/ckeditor/_source; \
|
|
|
|
cp -r scriptaculous $(SOGO_WEBSERVERRESOURCESDIR)/; \
|
2008-05-20 23:59:34 +02:00
|
|
|
fi
|
2008-02-14 18:31:23 +01:00
|
|
|
|
|
|
|
clean ::
|
|
|
|
|
|
|
|
distclean :: clean
|
|
|
|
|
|
|
|
uninstall ::
|