# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2005 The Trustees of Princeton University
#
-# $Id$
+# $Id: Makefile,v 1.6 2007/08/24 06:13:56 mef Exp $
#
-all: alpina-BootLVM.tar.gz alpina-BootstrapRPM.tar.gz alpina-PartDisks.tar.gz PlanetLab-Bootstrap.tar.bz2
-
-alpina-BootLVM.tar.gz:
- ./buildsupport.sh build BootLVM
-
-alpina-BootstrapRPM.tar.gz:
- ./buildsupport.sh build BootstrapRPM
-
-alpina-PartDisks.tar.gz:
- ./buildsupport.sh build PartDisks
+all: PlanetLab-Bootstrap.tar.bz2
PlanetLab-Bootstrap.tar.bz2:
- ./buildnode.sh
+ ./buildnode.sh -r $$([ -f "/etc/fedora-release" ] && awk ' { if ($2=="Core") print $4; else print $3 } ' /etc/fedora-release || echo 4)
clean:
- ./buildsupport.sh clean
rm -f PlanetLab-Bootstrap.tar.bz2