~ubuntu-branches/ubuntu/saucy/cuyo/saucy

« back to all changes in this revision

Viewing changes to datasrc/pics/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Angel Abad
  • Date: 2010-07-19 09:54:44 UTC
  • mfrom: (4.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20100719095444-ecoegzo1vvvdwra9
Tags: 2.~-1.1.brl3-1ubuntu1
* Merge from debian unstable (LP: #607106). Remaining changes:
  - Don't register MimeType=application/x-executable in
    the .desktop file.
  - Remove UTF-8 in the .desktop file
  - 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#
2
 
#   Copyright 2005,2006,2007 by Mark Weyer
3
 
#
4
 
#   This program is free software; you can redistribute it and/or modify
5
 
#   it under the terms of the GNU General Public License as published by
6
 
#   the Free Software Foundation; either version 2 of the License, or
7
 
#   (at your option) any later version.
8
 
#
9
 
#   This program is distributed in the hope that it will be useful,
10
 
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
11
 
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
 
#   GNU General Public License for more details.
13
 
#
14
 
#   You should have received a copy of the GNU General Public License
15
 
#   along with this program; if not, write to the Free Software
16
 
#   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17
 
#
18
 
 
19
 
#
20
 
# Usage
21
 
# =====
22
 
#
23
 
# If you don't want to know too much:
24
 
#
25
 
# make all
26
 
# make install
27
 
#
28
 
# A more thorough description follows.
29
 
#
30
 
#
31
 
#
32
 
# Interface:
33
 
# ==========
34
 
#
35
 
# make all
36
 
#   Create all pictures that have sources
37
 
#
38
 
# make <levelname>
39
 
#   Create all pictures from an individual level that have sources
40
 
#   This is only a rule of thumb. For example, the pictures for all
41
 
#   kacheln?.ld levels are created by "make kacheln".
42
 
#
43
 
# make install
44
 
#   Copy all pictures that were created to their destination.
45
 
#   In addition, xpm pictures are compressed
46
 
#
47
 
# make tidy
48
 
#   Delete all intermediate files and all files ending in ~.
49
 
#
50
 
# make clean
51
 
#   Delete all files that were regularly created.
52
 
#
53
 
#
54
 
# Requirements:
55
 
# =============
56
 
#
57
 
# You will need make, netpbm, ocaml, and povray.
58
 
#
59
 
 
60
 
 
61
 
 
62
 
 
63
 
DATA_DIR = ../../data
64
 
 
65
 
INSTALL_DIR = $(DATA_DIR)/pics
66
 
 
67
 
 
68
 
 
69
 
 
70
 
make.ml: ../make.ml
71
 
        cp ../make.ml .
72
 
 
73
 
make.mli: ../make.mli
74
 
        cp ../make.mli .
75
 
 
76
 
Makefile.common: ../Makefile.common
77
 
        cp ../Makefile.common .
78
 
 
79
 
 
80
 
 
81
 
cvsfiles_local:
82
 
        echo "colors.mgk" >> cvsfiles
83
 
        echo "titel-orig.png" >> cvsfiles
84
 
        echo "TODO" >> cvsfiles
85
 
 
86
 
distfiles_local: makefile.opt
87
 
        $(MAKE) -C $(DATA_DIR) used_images
88
 
        ./makefile.opt dist `cat $(DATA_DIR)/used_images` >> distfiles
89
 
        echo "colors.mgk" >> distfiles
90
 
 
91
 
cleanfiles_local:
92
 
        echo "make.ml" >> cleanfiles
93
 
        echo "make.mli" >> cleanfiles
94
 
        echo "Makefile.common" >> cleanfiles
95
 
 
96
 
 
97
 
 
98
 
include Makefile.common
99
 
 
100
 
 
101
 
 
102
 
# The following targets are listed here to prevent them being handed to
103
 
# makefile.opt although we do not have real rules for them:
104
 
 
105
 
../Makefile.common:
106
 
        $(NOOP)
107