16233
|
1 |
# isaweb makefile - project-specific dependencies
|
|
2 |
# $Id$
|
|
3 |
|
16329
|
4 |
project: site
|
|
5 |
chmod -R g-w $(OUTPUTROOT)/dist/packages
|
|
6 |
.PHONY: project
|
|
7 |
|
16274
|
8 |
#~ DEP_SYMLINKS=$(OUTPUTROOT)/dist/packages $(OUTPUTROOT)/library
|
|
9 |
|
|
10 |
#~ $(OUTPUTROOT)/dist/packages: $(ISABELLE_DIST)
|
|
11 |
#~ mkdir -p $(OUTPUTROOT)/dist
|
|
12 |
#~ ln -s $< $@
|
16233
|
13 |
|
17563
|
14 |
DEP_SYMLINKS=dist/packages $(OUTPUTROOT)/dist/library
|
16274
|
15 |
|
|
16 |
dist/packages: $(ISABELLE_DIST)
|
17605
|
17 |
mkdir -p dist
|
16233
|
18 |
ln -s $< $@
|
|
19 |
|
16277
|
20 |
#~ library: $(ISABELLE_LIBR)
|
|
21 |
#~ ln -s $< $@
|
|
22 |
|
17563
|
23 |
$(OUTPUTROOT)/dist/library: $(ISABELLE_LIBR)
|
17605
|
24 |
mkdir -p $(OUTPUTROOT)/dist
|
16242
|
25 |
ln -s $< $@
|
16323
|
26 |
chmod $(TARGET_UMASK_DIR) $@
|
16242
|
27 |
|
16233
|
28 |
include/documentationdist.include.html: $(ISABELLE_DOC_CONTENT_FILE)
|
16275
|
29 |
perl build/mkcontents.pl -p '//dist/packages/Isabelle/doc/' $< $@
|
|
30 |
|
|
31 |
symlinks: $(DEP_SYMLINKS)
|
|
32 |
.PHONY: symlinks
|
16300
|
33 |
|
|
34 |
include conf/distname.mak
|
|
35 |
conf/distname.mak:
|
|
36 |
@echo 'There is no conf/distname.mak file; it should have been'; \
|
|
37 |
echo 'allocated by makedist.'; \
|
17563
|
38 |
echo 'If you have no makedist at hand, allocate a conf/distname.mak file'; \
|
16300
|
39 |
echo 'yourself, e. g. by:'; \
|
|
40 |
echo; \
|
|
41 |
echo 'echo "DISTNAME=Isabelle2004" > conf/distname.mak'; \
|
|
42 |
echo; \
|
|
43 |
false; \
|