comparison octMakefile.in @ 1955:d6294ee6f989

[project @ 1996-02-15 00:36:02 by jwe]
author jwe
date Thu, 15 Feb 1996 00:36:02 +0000
parents b38c10272c3b
children 3496ec9bee35
comparison
equal deleted inserted replaced
1954:5328a7bc9b9d 1955:d6294ee6f989
276 276
277 snapshot-version: 277 snapshot-version:
278 @echo "creating src/version.h" 278 @echo "creating src/version.h"
279 @gawk '/#define OCTAVE_VERSION[ \t]*/ { \ 279 @gawk '/#define OCTAVE_VERSION[ \t]*/ { \
280 datestring = strftime("%y%m%d", systime()); \ 280 datestring = strftime("%y%m%d", systime()); \
281 printf("#define OCTAVE_VERSION \"ss-%s\"\n", datestring); \ 281 printf("#define OCTAVE_VERSION ss-%s\n", datestring); \
282 next; \ 282 next; \
283 } { print $$0 }' src/version.h > src/version.h.new 283 } { print $$0 }' src/version.h > src/version.h.new
284 @$(top_srcdir)/move-if-change src/version.h.new src/version.h 284 @$(top_srcdir)/move-if-change src/version.h.new src/version.h
285 .PHONY: snapshot-version 285 .PHONY: snapshot-version