summaryrefslogtreecommitdiff
path: root/dmake/NEWS
blob: bff5353be7bcbe57f737816b6d6db47299ab54fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
News file for the dmake version that is hosted on the OpenOffice.org
cvs. #i<number># denote issues tracked by the OpenOffice.org issue tracking
system, see <http://qa.openoffice.org/issue_handling/project_issues.html>.

Version 4.12
============

Volker Quetschke (vq@openoffice.org)
#i83540# Add parallel building mode, see the MULTI PROCESSING section in
the dmake man page, for native W32 dmake (MSVC 6, and newer and MinGW)
versions.

Version 4.11
============

Yuri Dario (ydario@openoffice.org)
#i81855, CWS os2port01# Port dmake to OS/2.

Volker Quetschke (vq@openoffice.org)
#i81252# Add a new control macro SHELLCMDQUOTE that can be used to add
additional characters before and after the command string if the recipe is
executed using a shell. This macro is used to avoid problems with quoting
when using cmd.exe or command.com.

Volker Quetschke (vq@openoffice.org)
#i81296, i64572# Improve dependency handling of prerequisites.

Volker Quetschke (vq@openoffice.org)
#i80687, i66751# Allow the use of .PHONY for %-targets.

Volker Quetschke (vq@openoffice.org)
#i80010, i80009# Fix handling of quoted filenames for :1 :b :d :e :f
and :i macro expansions.

Volker Quetschke (vq@openoffice.org)
#i78776# Add a new function macro $(normpath[,para] data) and a new macro
extension to normalise the given data or macro content. The normalization
is done element-wise (whitespace separated) on the given data. Quotes can
be used to normalize filenames that contain whitespace characters.
On cygwin the result honors the setting of .WINPATH to determine the output
format. If the optional parameter para is given for the function macro its
expanded value is used to override the .WINPATH setting for the output.

Version 4.10 (skipped)
======================

This number was skipped to avoid confusion with Version 4.1, patch level 0
which identified itself as "Version 4.10, PL 0".

Version 4.9
===========

Volker Quetschke (vq@openoffice.org)
#i74700#  Add a new special macro OOODMAKEMODE that is used to toggle
OOo build specific behavior. If OOODMAKEMODE is set (i.e. it begins with y)
a possible leading ./ of a path will no longer be removed during target
normalization.


Version 4.8
===========

Volker Quetschke (vq@openoffice.org)
#i73499#  Add new .WINPATH attribute to generate Windows style paths (with
regular slashes) instead of the default cygwin style (POSIX) paths for
dmake's dynamic macros.

This attribute is specific for cygwin dmake executables and non-cygwin
environments ignore this attribute. This feature can be used to create DOS
style path parameters for native W32 programs from dynamic macros.

The windows style paths use regular slashes ('/') instead of the usual
windows backslash ('\') as directory separator to avoid quoting problems
(It still is a cygwin dmake feature!) and cygwin as well as native windows
programs should have no problems using this (c:/foo/bar) path
representation.

The affected macros are $@, $*, $>, $?, $<, $&, $^ and $(PWD), $(MAKEDIR)
and $(TMD).

Examples:
  Content of $(PWD) without .WINPATH (default):  /cygdrive/c/temp

  Content of $(PWD) with .WINPATH set:           c:/temp


Version 4.7
===========

Volker Quetschke (vq@openoffice.org)
#i71422# Add @@ as a new recipe line property. This new property is a
stronger version of the already existing @ recipe property.  The recipe
line and the output (stdout and stderr) of the executed recipe are suppressed
and *NOT* shown on the terminal.
Note: Previously the second @ sign was ignored, that means that using this
new feature doesn't break backwards compatibility but the command output
is naturally not suppressed in older versions.

Volker Quetschke (vq@openoffice.org)
#i70210# Dmake now works correctly with empty dynamic prerequisites.

Volker Quetschke (vq@openoffice.org)
#i70168# Improve dmakes handling of literal $ characters in target and
prerequisite filenames. This was not working before and is working now
but the use of literal $ characters in filenames is still strongly
discouraged. See the man page for details.

Volker Quetschke (vq@openoffice.org)
#i69742# Normalize the pathnames of targets and prerequisites to the shortest
(or most natural, see below for the cygwin case) representation.
Now "./foo", "bar/../foo" and foo are recognized as the same file.

For cygwin this allows the use of target and prerequisite names with DOS
like pathnames with drive letters (with / and \ as possible path seperators)
and cygwin POSIX pathnames. As the internal format uses cygwin's natural
POSIX representation runtime macros will result in POSIX paths.

Version 4.6
===========

Volker Quetschke (vq@openoffice.org)
#i67589# Implement the internal dmake commands noop and echo. These commands
were already existing for the native Windows version but only partially
documented.

Volker Quetschke (vq@openoffice.org)
#i67166# Issue a warning when a previously unset macro (i.e. assumed to be
empty) is used and later set to a different value.

Volker Quetschke (vq@openoffice.org)
#i66567# Issue a warning when .SUFFIXES is used. This special target had no
special meaning (anymore?) and was always (at least since version 4.2)
ignored.

Volker Quetschke (vq@openoffice.org)
#i67025# Fix a bug that was introduced in dmake 4.5 and led dmake to falsely
issue an error if a %-target was defined with the .SILENT attribute and dmake
was started with the -vr (included in -v) verbose flag.

Version 4.5
===========

Volker Quetschke (vq@openoffice.org)
#i66385# Fix the handling of .<suffix> targets. Always treat these targets
as meta targets regardless of the AUGMAKE (-A) status. Previously this was
enabled when the AUGMAKE was *not* set to 'yes' or the -A switch was given.

#i66083# We now stop with an error if AUGMAKE meta targets and regular
targets are used in one rule definition. As the syntax of these target
definitions is slightly different this hints to an error in the makefile,
most probably a misspelled attribute or special target.

#i48087#, #i64869# The parsing of %-target definitions was fixed and
enhanced. Prior to dmake 4.5 only one %-target per target-definition worked
reliably, now this works well, but to help projects that still use older
versions a warning was added.

It's not very nice to issue a warning for something that works now but
didn't before. This was only done to aid development and will probably
be removed in future versions.

There was, and still is, that for a bug in dmake for %-targets with more
than one (not indirect) prerequisite only the first prerequisite is used.
This will be fixed in future versions but until this happens we issue a
warning that prerequisites are ignored.

#i65122# The :| rule operator was handled differently from what the man
page said. The man page was adapted to reflect reality. Changing dmakes
behavior to match the man page would have introduced a lot of compatibility
issues.

Version 4.4
===========

2006/02/03 Volker Quetschke (vq@openoffice.org)
#i61170# Fix the TMD macro. Up to now the TMD macro appended a directory
separator if it ended in "..", but most of the time it was not set correctly
at all and/or without a trailing slash.
Note: If your application relies on TMD please check the dmake manual page
for its definition and fix your makefiles if needed.

2006/02/01 Volker Quetschke (vq@openoffice.org)
#i60948# Add -m option family to generate timing information for targets
and/or recipes.

2005/09/19 Volker Quetschke (vq@openoffice.org)
#i53148# Fix $(shell ...) macro picking up the output of earlier
recipe lines in parallel builds.
#i54766# Ensure that all previous recipe lines to a recipe
line containing a $(shell ...) macro have finished before executing
the macro in parallel builds.

2005/06/01 Volker Quetschke (vq@openoffice.org)
#i39248# Add a testsuite to test some dmake features (only for autotools
builds). Start the tests with "make check".

2005/04/21 Volker Quetschke (vq@openoffice.org)
#i47851# Increase the version number to 4.4-cvs and slightly rearrange the
output of "dmake -V".
Remove the hard-coded (in autotools builds) OS macro. It had the wrong value
to be usable with the startup/*.mk and is not mentioned in the man page.
Clean up configure.in and friends.

2005/04/20 Volker Quetschke (vq@openoffice.org)
#i43310# Fix percent (%) rules to recognize prerequisites that are defined
with the multiple target rule operator (::). 
This implicitly fixes the similar problem for .<suffix>.<suffix> targets.

2005/04/16 Volker Quetschke (vq@openoffice.org)
#i46987# Fix the documentation of the $(mktmp ...) function macro. This is
not necessarily a new feature as the macro works this way since dmake was
imported into the OpenOffice.org cvs but mentioning it here might help users
of dmake upgrading from very old versions.

Add the "map escape codes" $(...:m) macro expansion that allows to expand
escape codes in macros.  It can also be used to reproduce the former (pre
OpenOffice.org cvs) $(mktmp ...) behavior.

2005/04/10 Volker Quetschke (vq@openoffice.org)
#i43252# Introduce the macro ABSMAKECMD that's value for a native Windows
dmake executable (compiled with MS Visual C++ or MinGW) is the absolute
filename and NULL for other operating systems or dmake build with other
compilers.
If DMAKEROOT is not changed and only for native Windows dmake versions the
value of DMAKEROOT now defaults to "$(ABSMAKECMD:d)startup".
This allows to use the startup files from the startup directory from the
same location where the dmake.exe is located.

2005/04/08 Steve Hay (shay@openoffice.org)
#i43241# Fix build problems with VC++ (in non-OOo environment) and fix
the dmake makefiles so that dmake can rebuild itself (VC++ only).

2005/03/14 Volker Quetschke (vq@openoffice.org)
#i44959# Fix problems when a continued line is followed by an empty
or comment line.

2005/03/13 Volker Quetschke (vq@openoffice.org)
#i37053# Fix function macro problems with continued lines.

2004/11/23 Volker Quetschke (vq@openoffice.org)
#i37491# Predefine dmake macro containing one space (SPACECHAR).

2004/11/21 Volker Quetschke (vq@openoffice.org)
#i36027# Improve function macro parameter parsing.

Version 4.3
===========

2004/10/07 Volker Quetschke (vq@openoffice.org)
#i34746# Fix timestamp of phony targets with prerequisites.

2004/07/11 Volker Quetschke (vq@openoffice.org)
#i31255# Add verbose recipe echoing option (-vr).

2004/07/06 Volker Quetschke (vq@openoffice.org)
#i30779# Fix to allow dmake to echo recipe lines when inference is used
to create files that are to be read by .INCLUDE.

2004/04/01 Michael Meeks (mmeeks@openoffice.org)
#i27319#, #i27981# Don't handle environment variables that begin with a
'!', they are used by Cygwin internally and confuse dmake.

2004/01/09 Dan Williams (fa@openoffice.org)
#i17992# Allows the nesting of expressions and a much more complex syntax
for dmake. It is now possible to nest expressions with () and any
combination of || and &&.
Example:
.IF (("$(OS)"=="MACOSX"&&"$(COM)"=="GCC")||"$(OS)"=="LINUX") && "$(GUIBASE)"=="unx"
...
.ENDIF

2003/10/19 Ken Foskey (waratah@openoffice.org)
#i20504# Correct processing of .LIBRARY targets.

2003/10/08 Chris Halls (haggai@openoffice.org)
#i7800# Fix tempnam security problem.

2003/03/08 Volker Quetschke (vq@openoffice.org)
#i10910# Use the build-in tempnam function for MS VC6.

2003/03/05 Volker Quetschke (vq@openoffice.org)
#i11861# Switch to newer autotools autoconf 2.5x and automake 1.5 and
add MinGW and MSVC to the configure buildable targets.

2002/10/11 Ken Foskey (waratah@openoffice.org)
Fix the "lost a child" problem. (Part II)

2002/10/04 Ken Foskey (waratah@openoffice.org)
Rework the configure process.

2002/04/10 Hans-Joachim Lankenau (hjs@openoffice.org)
Don't search INCLUDEDIRS if the filename to be included starts at fs-root.

2001/05/29 Patrick Luby (pluby@openoffice.org)
Added forceful exit to avoid infinite loop that sometimes occurs when
there is a fatal error. Lost a child problem. (Part I)

Version 4.2
===========
(Note, the dmake -V output was not changed and still said
"Version 4.10, PL 0". This probably should have been 4.1)

2001/04/20 Martin Hollmichel (mh@openoffice.org)
First autoconfiscation of dmake.

2001/02/13 Hans-Joachim Lankenau (hjs@openoffice.org)
Fix for leaving tmpfiles when building group targets.

2000/09/22 Jens-Heiner Rechtien (hr@openoffice.org)
Initial import of dmake into OpenOffice.org cvs

before 2000/09/22 ?
Add smaller/greater arithmetic for .IF conditions.

1999/03/18 Hans-Joachim Lankenau (hjs@openoffice.org)
Implement boolean expression "or".