/[svn]/Makefile
ViewVC logotype

Contents of /Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 475 - (show annotations)
Tue Jul 10 17:37:30 2007 UTC (5 years, 10 months ago) by abate
File size: 1259 byte(s)
[r2003-06-03 20:45:50 by cvscast] expat

Original author: cvscast
Date: 2003-06-03 20:45:50+00:00
1 include Makefile.distrib
2
3 # For development
4
5 pull: tools/pull.$(EXTENSION)
6 $(LINK) -o $@ $^
7
8 PREPRO = $(SYNTAX) pr_o.cmo
9
10 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 (cd prepro; make cduce PROFILE=true SYNTAX_PARSER= NATIVE=false)
25
26 # Site-specific installation
27
28 cedre_build:
29 rsh cedre ". .env; cd IMPLEM/CDUCE; make webiface; make web/files"
30 install_web:
31 scp web/www/*.php web/cduce.css cduce@iris:public_html/
32 scp webiface cduce@iris:cgi-bin/cduce
33 ssh cduce@iris "chmod +s cgi-bin/cduce"
34
35 website: web/files
36 scp web/www/*.php web/cduce.css cduce@iris.ens.fr:public_html/
37
38
39 # Packaging
40
41 DISTRIB = $(DIRS) expat tools web depend INSTALL INSTALL.WIN32 CHANGES LICENSE README doc
42
43 PACKAGE = cduce-$(VERSION)
44 .PHONY: package
45 package:
46 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 tar czf $(PACKAGE).tar.gz --exclude CVS --exclude ".#*" --exclude IDEAS $(PACKAGE)
54 rm -Rf $(PACKAGE)
55
56

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