a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync<?php // -*- Mode: PHP; -*-
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync/**
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync * Copyright (C) 2009 Marty Connor <mdc@etherboot.org>.
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync * Copyright (C) 2009 Entity Cyber, Inc.
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync *
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync * This program is free software; you can redistribute it and/or
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync * modify it under the terms of the GNU General Public License as
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync * published by the Free Software Foundation; either version 2 of the
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync * License, or any later version.
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync *
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync * This program is distributed in the hope that it will be useful, but
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync * WITHOUT ANY WARRANTY; without even the implied warranty of
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync * General Public License for more details.
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync *
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync * You should have received a copy of the GNU General Public License
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync * along with this program; if not, write to the Free Software
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync */
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync// Directory containing iPXE source code tree
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync$src_dir = "../../src";
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync// Compute iPXE version based on source tree
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsyncexec ( "make -C '$src_dir' version 2>&1", $make_output, $status );
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync$version = ( $status == 0 && count ( $make_output ) > 1 )
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync ? trim ( $make_output[count ( $make_output ) - 2] )
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync : "";
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync// Email address of person responsible for this website
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync$webmaster_email = "webmaster@example.com";
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync// Files that header and footer text
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync$top_inc = "top.php";
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync$bottom_inc = "bottom.php";
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync// Descriptive strings
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync$header_title = "ROM-o-matic for iPXE $version";
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync$html_tagline = "ROM-o-matic dynamically generates iPXE images";
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync$html_title = "ROM-o-matic for iPXE $version";
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync$description = "a dynamic iPXE image generator";
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync// For emacs:
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync// Local variables:
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync// c-basic-offset: 4
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync// c-indent-level: 4
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync// tab-width: 4
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync// End:
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync
a734c64bff58bda2fa48c2795453e092167b0ff7vboxsync?>