comparison Makefile.in @ 3435:9fcc72373e24

build stable-octave package by default * Makefile.in (STABLE_BUILD): Set default to yes. (OCTAVE_TARGET): Set here instead of in binary-dist-rules.mk * binary-dist-rules.mk: Use WINDOWS_BINARY_DIST_DEPS instead of WINDOWS_BINARY_DIST_FILES. (make-stable-dist-directory): Delete macro definition.
author John W. Eaton <jwe@octave.org>
date Mon, 20 Jan 2014 03:00:19 -0500
parents a7c772aa106f
children 9eda8d4b772d
comparison
equal deleted inserted replaced
3434:7864014bc84a 3435:9fcc72373e24
1 # This file is part of MXE. 1 # This file is part of MXE.
2 # See index.html for further information. 2 # See index.html for further information.
3 3
4 STABLE_BUILD := yes
5
6 ifeq ($(STABLE_BUILD),yes)
7 OCTAVE_TARGET := stable-octave
8 else
9 OCTAVE_TARGET := octave
10 endif
11
4 PWD := $(shell pwd) 12 PWD := $(shell pwd)
5 13
6 STRIP_DIST_FILES := @STRIP_DIST_FILES@ 14 STRIP_DIST_FILES := @STRIP_DIST_FILES@
7
8 STABLE_BUILD := no
9 15
10 DATE := $(shell date +%Y-%m-%d-%H-%M) 16 DATE := $(shell date +%Y-%m-%d-%H-%M)
11 17
12 ## Configuration variables. 18 ## Configuration variables.
13 19
418 echo '#PKGS ='; \ 424 echo '#PKGS ='; \
419 } >'$(PWD)/settings.mk') 425 } >'$(PWD)/settings.mk')
420 endif 426 endif
421 427
422 .PHONY: all 428 .PHONY: all
423 all: configure Makefile octave 429 all: configure Makefile $(OCTAVE_PACKAGE)
424 430
425 .PHONY: all-packages 431 .PHONY: all-packages
426 all-packages: $(PKGS) 432 all-packages: $(PKGS)
427 433
428 $(PKGS): $(BUILD_TOOLS) cmake-toolchain-file.stamp 434 $(PKGS): $(BUILD_TOOLS) cmake-toolchain-file.stamp