/[svn]/Makefile.in
ViewVC logotype

Contents of /Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 443 - (show annotations)
Tue Jul 10 17:35:14 2007 UTC (5 years, 11 months ago) by abate
File size: 1294 byte(s)
[r2003-05-26 16:23:52 by cvscast] Beppe: Added install and configure stuff

Original author: cvscast
Date: 2003-05-26 16:23:52+00:00
1 include Makefile.distrib
2
3 # For development
4
5 pull: tools/pull.$(EXTENSION)
6 $(LINK) -o $@ $^
7
8 profile:
9 rm -Rf prepro
10 mkdir prepro
11 for i in $(DIRS); do \
12 mkdir prepro/$$i; \
13 for j in $$i/*.ml $$i/*.mli; do \
14 if [ -f "$$j" ]; then \
15 echo $$j; \
16 $(PREPRO) $$j -o prepro/$$j; \
17 fi; \
18 done; \
19 done
20 cp parser/wlexer.mll prepro/parser/
21 cp Makefile depend prepro/
22 (cd prepro; make cduce PROFILE=true SYNTAX_PARSER= NATIVE=false)
23
24 # Site-specific installation
25
26 cedre_build:
27 rsh cedre ". .env; cd IMPLEM/CDUCE; make webiface; make web/files"
28 install_web:
29 scp web/www/*.php web/cduce.css cduce@iris:public_html/
30 scp webiface cduce@iris:cgi-bin/cduce
31 ssh cduce@iris "chmod +s cgi-bin/cduce"
32
33 website: web/files
34 scp web/www/*.php web/cduce.css cduce@iris.ens.fr:public_html/
35
36
37 # Packaging
38
39 DISTRIB = $(DIRS) tools web depend INSTALL INSTALL.WIN32 CHANGES LICENSE README doc
40
41 PACKAGE = $(NAME)-$(VERSION)
42 .PHONY: package
43 package:
44 rm -Rf $(PACKAGE)
45 mkdir $(PACKAGE)
46 cp -R $(DISTRIB) $(PACKAGE)/
47 cp Makefile.distrib.in $(PACKAGE)/Makefile.in
48 cp configure.distrib.in $(PACKAGE)/configure.in
49 (cd $(PACKAGE); \
50 autoconf;\
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