/[svn]/Makefile
ViewVC logotype

Contents of /Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 450 - (hide annotations)
Tue Jul 10 17:35:49 2007 UTC (5 years, 10 months ago) by abate
File size: 1253 byte(s)
[r2003-05-26 22:11:24 by cvscast] get rid of Cduce_config

Original author: cvscast
Date: 2003-05-26 22:11:25+00:00
1 abate 435 include Makefile.distrib
2 abate 22
3 abate 368 # For development
4    
5 abate 402 pull: tools/pull.$(EXTENSION)
6     $(LINK) -o $@ $^
7 abate 368
8 abate 450 PREPRO = $(SYNTAX) pr_o.cmo
9    
10 abate 368 profile:
11     rm -Rf prepro
12     mkdir prepro
13     for i in $(DIRS); do \
14     mkdir prepro/$$i; \
15     for j in $$i/*.ml $$i/*.mli; do \
16     if [ -f "$$j" ]; then \
17     echo $$j; \
18     $(PREPRO) $$j -o prepro/$$j; \
19     fi; \
20     done; \
21     done
22     cp parser/wlexer.mll prepro/parser/
23     cp Makefile depend prepro/
24 abate 402 (cd prepro; make cduce PROFILE=true SYNTAX_PARSER= NATIVE=false)
25 abate 368
26 abate 105 # Site-specific installation
27 abate 369
28     cedre_build:
29 abate 402 rsh cedre ". .env; cd IMPLEM/CDUCE; make webiface; make web/files"
30 abate 105 install_web:
31 abate 381 scp web/www/*.php web/cduce.css cduce@iris:public_html/
32 abate 402 scp webiface cduce@iris:cgi-bin/cduce
33 abate 369 ssh cduce@iris "chmod +s cgi-bin/cduce"
34    
35     website: web/files
36 abate 433 scp web/www/*.php web/cduce.css cduce@iris.ens.fr:public_html/
37 abate 286
38 abate 370
39 abate 435 # Packaging
40 abate 368
41 abate 436 DISTRIB = $(DIRS) tools web depend INSTALL INSTALL.WIN32 CHANGES LICENSE README doc
42 abate 402
43 abate 435 PACKAGE = cduce-$(VERSION)
44 abate 368 .PHONY: package
45     package:
46 abate 435 rm -Rf $(PACKAGE)
47     mkdir $(PACKAGE)
48     cp -R $(DISTRIB) $(PACKAGE)/
49     cp Makefile.distrib $(PACKAGE)/Makefile
50     (cd $(PACKAGE); \
51     rm -f types/IDEAS; \
52     headache -h ../header $(DEPEND))
53 abate 436 tar czf $(PACKAGE).tar.gz --exclude CVS --exclude ".#*" --exclude IDEAS $(PACKAGE)
54 abate 435 rm -Rf $(PACKAGE)
55 abate 370
56 abate 435

CVS Admin">CVS Admin
ViewVC Help
Powered by ViewVC 1.1.5