Perl-Repository-APC

 view release on metacpan or  search on metacpan

eg/Makefile  view on Meta::CPAN

# Running without --remo is a good default because if no new patch
# arrives we do not want to rebuild the version we have already built.
# By not removing it, we block patchaperlup if it tries again.

# 2008-12-27 akoenig : git is there and we must adjust a lot. What
# about picking 39999 as a placeholder. If it is chosen as revision
# number then the sorting must obey the rules posed by git and any
# code tripping over multiple 39999 perls will have to be fixed to do
# some secondary selection/sorting. We could replace the random
# directory name with a composition containing the first characters of
# the sha1 provided by git. Then we'd have the identifier in the path
# and could find it in the report. But the price is that nobody else
# finds it there. Well, if the composition screems, we could make it
# obvious, like git- or gitish-

# Set the default config:
# CONFIG=--config='-Dinstallusrbinperl=n -Uversiononly -Dusedevel -des  -Ui_db                                         '
CONFIG=--config='-Dinstallusrbinperl=n -Uversiononly -Dusedevel -des  -Ui_db                            -Duse64bitint'
# CONFIG=--config='-Dinstallusrbinperl=n -Uversiononly -Dusedevel -des  -Ui_db               -Dusethreads              '
# CONFIG=--config='-Dinstallusrbinperl=n -Uversiononly -Dusedevel -des  -Ui_db               -Dusethreads -Duse64bitint'

# CONFIG=--config='-Dinstallusrbinperl=n -Uversiononly -Dusedevel -des  -Ui_db -Doptimize=-g                           '
# CONFIG=--config='-Dinstallusrbinperl=n -Uversiononly -Dusedevel -des  -Ui_db -Doptimize=-g              -Duse64bitint'
# CONFIG=--config='-Dinstallusrbinperl=n -Uversiononly -Dusedevel -des  -Ui_db -Doptimize=-g -Dusethreads              '
# CONFIG=--config='-Dinstallusrbinperl=n -Uversiononly -Dusedevel -des  -Ui_db -Doptimize=-g -Dusethreads -Duse64bitint'


# ATTN: relocateableinc does not work with mod_perl 1.30 (RT #30300)
# CONFIG=--config='-Dinstallusrbinperl=n -Uversiononly -Dusedevel -des -Duse64bitint -Duserelocatableinc                           '
# CONFIG=--config='-Dinstallusrbinperl=n -Uversiononly -Dusedevel -des -Duse64bitint -Duserelocatableinc               -Dusethreads'
# CONFIG=--config='-Dinstallusrbinperl=n -Uversiononly -Dusedevel -des -Duse64bitint -Duserelocatableinc -Doptimize=-g             '
# CONFIG=--config='-Dinstallusrbinperl=n -Uversiononly -Dusedevel -des -Duse64bitint -Duserelocatableinc -Doptimize=-g -Dusethreads'

# CONFIG=--config='-Dinstallusrbinperl=n -Uversiononly -Dusedevel -des -Duse64bitint -Doptimize=-g                 -Dnoextensions="Encode"'

CONSTRUCTIO=latest
# CONSTRUCTIO=maint-5.8
# CONSTRUCTIO=maint-5.10

# attention, normally we want this to be empty!
TESTSWITCH=

SLEEP=120

PATCHLEVEL=999999

DOT_PATCH=--writedotpatch

default: all

you-have-not-edited:
	@echo This Makefile is only a demo what can be done with an installed
	@echo Perl::Repository::APC. You are supposed to edit this Makefile to
	@echo your own needs, remove the default target, and then start to use it
	@echo in your daily work/cronjobs/whatever



# add the targets you want to build regularly
all: rsync-fetch build-latest-with-modules build-maint-5.8


# please study this command carefully, it's often outdated. It depends
# on decisions that are not predictable, and you may end up with an
# incomplete copy of the APC.
rsync-fetch:
	rsync --delete -vabP --include /5.8.0 \
	     --exclude changes-latest.gz \
	     --include /5.\[689\]\* \
	     --include /perl-\*-diffs \
	     --exclude '/*' \
	 rsync://public.activestate.com/all-of-the-APC-for-mirrors-only/ \
	 APC/

rsync-fetch-perl-current-directory:
	rsync --delete -vabP \
	 rsync://public.activestate.com/all-of-the-APC-for-mirrors-only/perl-current/ \
	 APC/perl-current/

rsync-fetch-perl-current-dot-patch-file:
	rsync -vb \
	 rsync://public.activestate.com/all-of-the-APC-for-mirrors-only/perl-current/.patch \
	 APC/perl-current/

what-is-current-patchlevel: rsync-fetch-perl-current-dot-patch-file
	cat APC/perl-current/.patch

build-latest:
	-buildaperl $(CONFIG) $(DOT_PATCH) @

# %FT%T is shorter but has the colons
build-latest-with-modules:



( run in 0.571 second using v1.01-cache-2.11-cpan-5511b514fd6 )