Admin/website/build/project.mak
author haftmann
Tue, 04 Oct 2005 09:19:17 +0200
changeset 17743 f546af04142a
parent 17671 e9e341bc7d42
child 17910 2b435795c9e9
permissions -rw-r--r--
support for setting local permissions

# isaweb makefile - project-specific dependencies
# $Id$

project: $(OUTPUTROOT)/dist site
.PHONY: project

cleanproject:
	rm -rf $(OUTPUTROOT)/dist
.PHONY: cleanproject

$(OUTPUTROOT)/dist: $(ISABELLE_DIST)
	$(COPY) -vRud $< $@
	chmod -R g-w $@

include/documentationdist.include.html: $(ISABELLE_DOC_CONTENT_FILE)
	perl build/mkcontents.pl -p '//dist/Isabelle/doc/' $< $@

include conf/distname.mak
conf/distname.mak:
	@echo 'There is no conf/distname.mak file; it should have been'; \
	echo 'allocated by makedist.'; \
	echo 'If you have no makedist at hand, allocate a conf/distname.mak file'; \
	echo 'yourself, e. g. by:'; \
	echo; \
	echo 'echo "DISTNAME=Isabelle1705" > conf/distname.mak'; \
	echo; \
	false; \

perms:
	build/set_perm.bash $(FIND) $(LOCAL_UMASK_FILE) $(LOCAL_UMASK_DIR) $(LOCAL_GROUP)
.PHONY: perms