Mercurial > mxe-octave
comparison Makefile.in @ 3431:a7c772aa106f
Move mk-dist script functionality into Makefile.
* mk-dist: Delete.
* binary-dist-rules.mk: New file.
* Makefile.in: Include binary-dist-rules.mk.
(STRIP_DIST_FILES, STABLE_BUILD, DATE): New variables.
* configure.ac: New option --disable-strip-dist-files.
* makeinst-script.sh: Require output file as second argument.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 16 Jan 2014 18:03:14 -0500 |
parents | 6cf5d50556d4 |
children | 9fcc72373e24 |
comparison
equal
deleted
inserted
replaced
3430:2183ac663bcb | 3431:a7c772aa106f |
---|---|
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 PWD := $(shell pwd) | 4 PWD := $(shell pwd) |
5 | |
6 STRIP_DIST_FILES := @STRIP_DIST_FILES@ | |
7 | |
8 STABLE_BUILD := no | |
9 | |
10 DATE := $(shell date +%Y-%m-%d-%H-%M) | |
5 | 11 |
6 ## Configuration variables. | 12 ## Configuration variables. |
7 | 13 |
8 # Set the following configuration variables with a configure script? | 14 # Set the following configuration variables with a configure script? |
9 | 15 |
738 dist: | 744 dist: |
739 rm -rf $(distdir) | 745 rm -rf $(distdir) |
740 mkdir $(distdir) | 746 mkdir $(distdir) |
741 $(TAR) cf - $(DIST_FILES) | ( cd $(distdir) ; $(TAR) xpf - ) | 747 $(TAR) cf - $(DIST_FILES) | ( cd $(distdir) ; $(TAR) xpf - ) |
742 $(TAR) czf $(distdir).tar.gz $(distdir) | 748 $(TAR) czf $(distdir).tar.gz $(distdir) |
749 | |
750 include binary-dist-rules.mk |