~ubuntu-branches/ubuntu/natty/openttd-opensfx/natty

« back to all changes in this revision

Viewing changes to Makefile.local.sample

  • Committer: Bazaar Package Importer
  • Author(s): Matthijs Kooijman, Matthijs Kooijman
  • Date: 2010-04-02 15:45:39 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100402154539-3dbha95ba81wbqtd
Tags: 0.2.3-1
[ Matthijs Kooijman ]
* [9f4d281] New upstream release 0.2.3.
* [5801386] Don't use "free" or "open source" to descripe OpenSFX.
  (Closes: #573952)
* [487e4a1] Remove install-mkdir.patch, the issue was fixed upstream.
* [bf7b68e] Enable md5 sum checking after build.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# This file contains a list of settings for this project
 
2
# which could moderately easily be changed locally
 
3
# Copy the file to Makefile.local and uncomment the 
 
4
# appropriate lines.
 
5
 
 
6
# REPO_NAME          := My first NewGRF 
 
7
# GRF_ID             := 01 02 03 04
 
8
 
 
9
# If everything is default, you don't need the rest:
 
10
 
 
11
# comment out those dirs which are not in use
 
12
# Add any dirs which shall be bundled in a source release additionally
 
13
# to the dirs mentioned above.
 
14
# EXTRA_DIRS         :=
 
15
 
 
16
# Documentation files:
 
17
# README_FILENAME_SRC    := $(DOC_DIR)/readme.txt
 
18
# LICENSE_FILENAME_SRC   := $(DOC_DIR)/license.txt
 
19
# CHANGELOG_FILENAME_SRC := $(DOC_DIR)/changelog.txt
 
20
 
 
21
# file extentions which indicate plain text source files, 
 
22
# parsable by a text editor
 
23
# FILE_SRC_EXTENSIONS = pnfo template
 
24
 
 
25
# file extensions which indicate binary source files
 
26
# FILE_INC_EXTENSIONS = wav pcx
 
27
 
 
28
# Replacement strings in the source and in the documentation
 
29
# You may only change the values, not add new definitions
 
30
# (unless you know where to add them in other places, too)
 
31
# REPO_TITLE_DUMMY      := {{GRF_TITLE}}
 
32
# GRF_ID_DUMMY          := {{GRF_ID}}
 
33
# REPO_REVISION_DUMMY   := {{REPO_REVISION}}
 
34
# OUTPUT_FILENAME_DUMMY := {{FILENAME}}
 
35
 
 
36
# List of all files which will get shipped
 
37
# DOC_FILES = readme, changelog and license
 
38
# GRF_FILENAME = MAIN_FILENAME_SRC with the extention .grf
 
39
# Add any additional, not usual files here, too, including
 
40
# their relative path to the root of the repository
 
41
# BUNDLE_FILES           = $(MAIN_TARGET) $(DOC_FILES)
 
42
 
 
43
# CLEAN_ADD = sprites/nfo/cargos.pnfo sprites/nfo/cargo_schemes.pnfo
 
44
 
 
45
################################################################
 
46
# Programme definitions / search paths
 
47
################################################################
 
48
# Build parameters and programmes
 
49
# NFORENUM_FLAGS =
 
50
# GRFCODEC_FLAGS = -e -p 2
 
51
# TAR_FLAGS      = -cf 
 
52
# ZIP_FLAGS      = -r
 
53
# SRCZIP_FLAGS   =
 
54
# BZIP_FLAGS     = -k9f
 
55
# CC_FLAGS       = -C -E - <
 
56
# MAKE_FLAGS     =
 
57
# UNIX2DOS_FLAGS ?= -q
 
58
 
 
59
# NFORENUM       = renum
 
60
# GRFCODEC       = grfcodec
 
61
# TAR            = tar
 
62
# ZIP            = zip
 
63
# SRCZIP         = gzip
 
64
# BZIP           = bzip2
 
65
# CC             = gcc
 
66
# AWK            = awk
 
67
# HG             = hg
 
68
# MAKE           = make
 
69
# UNIX2DOS       = $(shell [ `which unix2dos` ] && echo "unix2dos" || echo "cat")
 
70
# MD5SUM         = md5 -r
 
71
 
 
72
# Installation dir
 
73
INSTALL_DIR      =
 
74
 
 
75
################################################################
 
76
# Get the Repository revision, tags and the modified status
 
77
# The displayed name within OpenTTD / TTDPatch
 
78
# Looks like either
 
79
# a nightly build:                 GRF's Name nightly-r51
 
80
# a release build (taged version): GRF's Name 0.1
 
81
################################################################
 
82
# REPO_TITLE    := $(REPO_NAME) $(shell [ -n "$(REPO_TAGS)" ] && echo $(REPO_TAGS)$(REPO_MODIFIED) || echo nightly r$(REPO_REVISION)$(REPO_MODIFIED))
 
83
 
 
84
################################################################
 
85
# Rules on how to generate filenames. Usually no need to change
 
86
################################################################
 
87
# Define how the displayed name and the filename of the bundled grf shall look like:
 
88
# The result will either be
 
89
# nightly build:                   mynewgrf-nightly-r51
 
90
# a release build (tagged version): mynewgrf-0.1
 
91
# followed by an M, if the source repository is not a clean version.
 
92
 
 
93
# FILENAME_STUB      := $(basename $(MAIN_TARGET))
 
94
# DIR_BASE           := $(FILENAME_STUB)-
 
95
# VERSION_STRING     := $(shell [ -n "$(REPO_TAGS)" ] && echo $(REPO_TAGS)$(REPO_MODIFIED) || echo nightly-r$(REPO_REVISION)$(REPO_MODIFIED))
 
96
# DIR_NAME           := $(shell [ -n "$(REPO_TAGS)" ] && echo $(DIR_BASE)$(VERSION_STRING) || echo $(DIR_BASE)nightly)
 
97
# VERSIONED_FILENAME := $(DIR_BASE)$(VERSION_STRING)
 
98
# DIR_NAME_SRC       := $(VERSIONED_FILENAME)-source
 
99
 
 
100
# TAR_FILENAME       := $(DIR_NAME).tar
 
101
# BZIP_FILENAME      := $(TAR_FILENAME).bz2
 
102
# ZIP_FILENAME       := $(VERSIONED_FILENAME).zip
 
103
# MD5_FILENAME       := $(DIR_NAME).md5
 
104
# REV_EXTENSION      := REV
 
105
 
 
106
# DOC_FILES_SRC      := $(LICENSE_FILENAME_SRC) $(README_FILENAME_SRC) $(CHANGELOG_FILENAME_SRC)
 
107
 
 
108
# Directories which to remember when creating a source release
 
109
# MAIN_DIRS           = $(SRC_DIR) $(DOC_DIR) $(SCRIPT_DIR) $(TEMPLATE_DIR) $(EXTRA_DIRS)
 
110
 
 
111
# Remove the @ when you want a more verbose output.
 
112
# _V = @
 
113
# _E = @echo