Commit Graph

209 Commits

Author SHA1 Message Date
Timothy Gu 30d2e78632 Add target download-only-* to ease developing
Signed-off-by: Timothy Gu <timothygu99@gmail.com>

Conflicts:
	Makefile
2014-08-29 17:13:24 -07:00
Niels Kristian Bech Jensen e80e2aae74 Makefile and docs: update automake version requirement
Conflicts:
	Makefile
2013-12-26 14:16:09 +11:00
Tony Theodore 37c6bfca7a Makefile and docs: require automake 1.12 or later 2013-12-04 17:16:05 +11:00
Tony Theodore 4bc0f0f924 remove optional native builds for autoconf automake cmake libtool
these need more testing and proper multi-target support
2013-07-26 12:56:28 +10:00
Volker Grabsch e412eb642d Move package versions from index.html back into the src/*.mk files
Most of the automatic conversion was done using the following Python script:

import os
import re
pkgs = sorted(mkfile[:-len('.mk')] for mkfile in os.listdir('src') if mkfile.endswith('.mk'))
with open('index.html', 'rb') as f:
    index = f.read()
pkgs_index = re.findall('<td class="package">([^<]*)</td>', index)
assert pkgs_index == pkgs
versions = dict(re.findall('<td id="([^"]*)-version">([^<]*)</td>', index))
assert sorted(versions.keys()) == pkgs
for pkg in pkgs:
    version = versions[pkg]
    with open('src/' + pkg + '.mk', 'rb') as f:
        mk = f.read()
    checksumpos = mk.index('\n$(PKG)_CHECKSUM ')
    versionline = '\n$(PKG)_VERSION  := %(version)s' % {'version': version}
    newmk = mk[:checksumpos] + versionline + mk[checksumpos:]
    with open('src/' + pkg + '.mk', 'wb') as f:
        f.write(newmk)
2013-07-22 01:41:31 +02:00
Volker Grabsch 4419187a68 Replace unneeded "*-package" IDs in the docs 2013-07-22 00:19:50 +02:00
Tony Theodore 2b8d7eaf67 add optional native automake and autoconf 2013-07-17 13:27:00 +10:00
Tony Theodore b009e1f19f Makefile: log OSX software version 2013-07-14 20:21:19 +10:00
Tony Theodore cc718d702a Makefile and docs: remove yasm requirement 2013-07-13 20:26:42 +10:00
Tony Theodore 54fa3a4e0f Makefile: add extra logging details 2013-07-07 19:36:17 +10:00
Tony Theodore b7243e09a1 Makefile: add $(DATE) portability variable 2013-06-28 00:02:30 +10:00
Tony Theodore 8e7faf84df Makefile: add MXE_TARGET_LIST variable 2013-06-24 00:14:03 +10:00
Tony Theodore dff8750125 Makefile: add new DEFAULT_MAX_JOBS variable 2013-06-19 23:41:59 +10:00
Tony Theodore 7f2abcb332 Makefile: add g++ to requirements check 2013-06-04 14:42:52 +10:00
Mark Brand d3e276f9f0 unset CONFIG_SITE 2013-06-02 19:39:54 +02:00
Tony Theodore 95e37fbe7e Makefile: add target loop, serialise targets, and update settings file 2013-06-01 22:28:01 +10:00
Tony Theodore abc6e0993c Makefile: change order of ignore filter to allow patterns 2013-05-22 19:48:52 +10:00
Tony Theodore c329e0827c Makefile: default JOBS to number of CPUs 2013-05-12 14:25:01 +10:00
Tony Theodore 0a78a67d8e Makefile: fix indentation of missing url check 2013-05-05 19:59:32 +10:00
Tony Theodore fe78957219 Makefile: fix indentation of missing url check 2013-05-05 19:57:46 +10:00
Tony Theodore 0adc6cab1a Makefile: add error messages for undefined package or url 2013-05-05 19:26:06 +10:00
Tony Theodore 62d4c8c0ce Makefile: alert when an older verison is found during update 2013-03-31 20:26:34 +11:00
Ulrich Klauer 09e6d45916 Complete adding of GNU sort
Mention GNU Coreutils in the requirements section and check that
$(SORT) is available.
2013-03-29 14:32:32 +01:00
Tony Theodore 4c3dad0aa0 Makefile: only update to latest version and print macro for failed updates 2013-03-27 01:20:56 +11:00
Tony Theodore 79b59c8430 add portability variable for gnu sort and add coreutils to requirements 2013-03-26 22:54:10 +11:00
Tony Theodore 107bd8856e Makefile: continue after errors in update macros 2013-03-25 16:17:08 +11:00
Tony Theodore 77d4ec9fef Makefile: add sample default rule when creating settings.mk 2012-12-23 18:56:53 +11:00
Tony Theodore 419f67bacd Makefile: correctly escape urls for amazon services 2012-12-06 03:38:45 +11:00
Volker Grabsch 9bdffc5b85 Merge pull request #81 from tonytheodore/glib-optional-native
Review: Build glib native tools only if they're not installed
2012-09-21 09:49:59 -07:00
Mark Brand 1be528dde5 fix spurious PKGS targets
Follow-up to d711e21f6a which
mentioned gettext which accidentally was seen as a target
for via PKGS by Makefile.
2012-09-19 00:20:06 +02:00
Tony Theodore 8de88aa4dd Makefile: pass PKG variable to build rules
See here for explanation:

http://www.gnu.org/software/make/manual/make.html#Target_002dspecific
2012-09-18 17:35:15 +10:00
Tony Theodore 9c2746d2c4 add package cdn fallback 2012-09-16 19:43:49 +10:00
Tony Theodore b4ec3437d2 cleanup after failed download 2012-09-16 19:03:11 +10:00
Tony Theodore cf12ed3972 fix bracketing of wget calls 2012-09-16 18:26:07 +10:00
Tony Theodore 936a7f7b9a add tertiary fallback for unavailable package files 2012-09-16 17:49:28 +10:00
Mark Brand 5cc604d8b6 Merge branch 'stable' 2012-08-17 14:37:42 +02:00
Mark Brand a93d9d0dc9 replace sourceforge mirror
routing problems reported and verified with kent.dl.sourceforge.net
2012-08-17 14:36:10 +02:00
Tony Theodore 6f98c22697 Makefile: add wget portability variable - $(WGET) 2012-05-16 17:49:08 +10:00
Volker Grabsch 6f47641bb6 Add support for a local settings file settings.mk 2012-05-03 23:15:02 +02:00
Volker Grabsch 137fede635 Bugfix in "make check-requirements" to work with Automake 1.12 2012-05-02 15:42:36 +02:00
Volker Grabsch 757ed92e87 Remove entries for the "dist/" directory which is no longer used 2012-04-16 14:52:42 +02:00
Volker Grabsch 003362b9ae Portability fix: Define $(PWD) before $(SHELL)
For more information, see:
http://lists.nongnu.org/archive/html/mingw-cross-env-list/2012-04/msg00004.html
2012-04-10 06:49:00 +02:00
Tony Theodore d99585da15 revert PWD portability fix 2012-04-06 23:54:54 +10:00
Tony Theodore 0c9d711a11 portability fix: use physical location for PWD 2012-04-06 15:19:41 +10:00
Volker Grabsch b004dc9aa2 Load only *.mk files of packages mentioned in index.html
This avoids confusion when left-over files were accidently loaded.

For more information, see:
http://lists.nongnu.org/archive/html/mingw-cross-env-list/2012-03/msg00156.html
2012-03-31 13:10:47 +02:00
Volker Grabsch b30427d28d Load list of packages from index.html instead of scanning src/ 2012-03-30 09:23:13 +02:00
Volker Grabsch 96bbff530a Improve order of entries in main Makefile 2012-03-30 09:22:06 +02:00
Volker Grabsch 9c79bd37ae Improve "make cleanup-style" to touch only files that have to be fixed 2012-03-30 09:12:14 +02:00
Volker Grabsch 2597d986c2 Fix trailing space after version number 2012-03-29 14:17:02 +02:00
Volker Grabsch 875c74934c Add new command "make cleanup-style" 2012-03-29 13:00:17 +02:00