~ubuntu-branches/ubuntu/lucid/camlimages/lucid

« back to all changes in this revision

Viewing changes to Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Sylvain Le Gall, Ralf Treinen, Sylvain Le Gall
  • Date: 2009-03-05 00:19:32 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090305001932-f0hstlmun8hxvs0r
Tags: 1:3.0.1-1
[ Ralf Treinen ]
* Updated debian/watch.

[ Sylvain Le Gall ]
* New upstream version:
  * Remove useless patches
  * Adapt debian/rules and other debhelper files
  * Add debian/patches/fix_3_0_1 to fix various problem (probably due to
    OCaml 3.11 migration)
* Depends on version 2.12 of lablgtk2
* Add dh-ocaml build-dependency (rules/ocaml.mk)
* Add ${misc:Depends} to dependencies
* Update Homepage field into debian/control and debian/copyright
* Add license version for debian packaging
* Directly use eng.html rather than creating a linked index.html file

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#*********************************************************************#
 
2
#                                                                     #
 
3
#                          Caml Images                                #
 
4
#                                                                     #
 
5
#            Fran�ois Pessaux, projet Cristal, INRIA Rocquencourt     #
 
6
#            Pierre Weis, projet Cristal, INRIA Rocquencourt          #
 
7
#            Jun Furuse, projet Cristal, INRIA Rocquencourt           #
 
8
#                                                                     #
 
9
#  Copyright 1999-2004,                                               #
 
10
#  Institut National de Recherche en Informatique et en Automatique.  #
 
11
#  Distributed only by permission.                                    #
 
12
#                                                                     #
 
13
#*********************************************************************#
 
14
 
 
15
#(* $Id: Makefile.am,v 1.6 2007/01/08 15:37:08 rousse Exp $ *)
 
16
 
 
17
SUBDIRS = src examples doc
 
18
 
 
19
if HAVE_FREETYPE
 
20
if HAVE_GIF
 
21
SUBDIRS += test
 
22
endif
 
23
endif
 
24
 
 
25
CVSRELEASETAG = Release-$(subst .,_,$(VERSION))
 
26
ANNOUNCEFILE  = Announce-$(VERSION)
 
27
 
 
28
WEBSITEDIR = /net/yquem/infosystems/www/$(PACKAGE)
 
29
FTPSITEDIR = /net/yquem/infosystems/ftp/$(PACKAGE)
 
30
CVSROOTDIR = /net/yquem/devel/caml/repository/
 
31
CVSPKGDIR  = bazar-ocaml/$(PACKAGE)
 
32
 
 
33
cvstag:
 
34
        cvs tag -c $(CVSRELEASETAG)
 
35
 
 
36
cvsuntag:
 
37
        cvs tag -d $(CVSRELEASETAG)
 
38
 
 
39
announce:
 
40
        mail -n -s "New release $(VERSION) of $(NAME)" \
 
41
                caml-announce@inria.fr < $(ANNOUNCEFILE)
 
42
 
 
43
website: dist
 
44
        if [ -d $(WEBSITEDIR) ]; then     \
 
45
                : ; \
 
46
        else                              \
 
47
                $(INSTALL) -d -g caml -m 775 $(WEBSITEDIR); \
 
48
        fi
 
49
        $(INSTALL) -g caml -m 755 $(DIST_ARCHIVES) $(WEBSITEDIR)
 
50
        $(INSTALL) -g caml -m 775 doc/*.html $(WEBSITEDIR)
 
51
        $(INSTALL) -g caml -m 775 doc/*.jpg $(WEBSITEDIR)
 
52
        cd $(WEBSITEDIR) && ln -sf eng.html index.html
 
53
 
 
54
# ftpsite: dist
 
55
#       if [ ! -d $(FTPSITEDIR) ]; then                     \
 
56
#               $(INSTALL) -d -g caml -m g+w $(FTPSITEDIR); \
 
57
#       done
 
58
#       $(INSTALL) -g caml -m g+w $(DISTFILE) $(FTPSITEDIR)