#!/usr/bin/perl -w
-# Copyright © 2008 Jamie Zawinski <jwz@jwz.org>
+# Copyright © 2008-2011 Jamie Zawinski <jwz@jwz.org>
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without fee, provided that
use strict;
my $progname = $0; $progname =~ s@.*/@@g;
-my $version = q{ $Revision: 1.2 $ }; $version =~ s/^[^\d]+([\d.]+).*/$1/;
+my $version = q{ $Revision: 1.4 $ }; $version =~ s/^[^\d]+([\d.]+).*/$1/;
my $verbose = 0;
$file = 'sproingiewrap.c' if ($file eq 'sproingies.c');
$file = 'b_lockglue.c' if ($file eq 'bubble3d.c');
$file = 'polyhedra-gl.c' if ($file eq 'polyhedra.c');
+ $file = 'companion.c' if ($file eq 'companioncube.c');
$file = "glx/$file" unless (-f $file);
my $body = '';
my ($saver) = @_;
# kludge
- return 0 if ($saver =~ m/(-helper|hypertorus|polytopes)$/);
+ return 0 if ($saver =~ m/(-helper)$/);
my ($src_opts, $switchmap) = parse_src ($saver);
my (@xml_opts) = parse_xml ($saver, $switchmap);