/[svn]/Makefile
ViewVC logotype

Contents of /Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 584 - (hide annotations)
Tue Jul 10 17:46:20 2007 UTC (5 years, 10 months ago) by abate
File size: 1240 byte(s)
[r2003-07-05 14:41:06 by cvscast] Beppe: added cduce.conf to DISTRIB in Makefile

Original author: cvscast
Date: 2003-07-05 14:41:06+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 580 rsh cedre ". .env; cd IMPLEM/CDUCE; make webiface webpages"
30     scp CHANGES web/www/*.html web/cduce.css cduce@iris:public_html/
31 abate 402 scp webiface cduce@iris:cgi-bin/cduce
32 abate 369
33 abate 560 install_web_distant:
34 abate 580 make webpages
35     scp CHANGES web/www/*.html web/cduce.css cduce@iris:public_html/
36 abate 286
37 abate 435 # Packaging
38 abate 368
39 abate 584 DISTRIB = $(DIRS) cduce.spec expat tools web depend INSTALL INSTALL.WIN32 CHANGES LICENSE README Makefile.conf doc
40 abate 402
41 abate 435 PACKAGE = cduce-$(VERSION)
42 abate 368 .PHONY: package
43 abate 561 package: clean
44 abate 435 rm -Rf $(PACKAGE)
45     mkdir $(PACKAGE)
46     cp -R $(DISTRIB) $(PACKAGE)/
47     cp Makefile.distrib $(PACKAGE)/Makefile
48     (cd $(PACKAGE); \
49     rm -f types/IDEAS; \
50     headache -h ../header $(DEPEND))
51 abate 561 tar czf $(PACKAGE).tar.gz --exclude CVS --exclude ".#*" $(PACKAGE)
52 abate 435 rm -Rf $(PACKAGE)
53 abate 370
54 abate 435

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