gecko-dev/webtools/tinderbox/Makefile

84 lines
2.2 KiB
Makefile
Raw Normal View History

1998-09-01 01:09:43 +00:00
#!gmake
#
1999-11-01 23:33:56 +00:00
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
1998-09-01 01:09:43 +00:00
#
1999-11-01 23:33:56 +00:00
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
1998-09-01 01:09:43 +00:00
#
# The Original Code is the Tinderbox build tool.
1998-09-01 01:09:43 +00:00
#
# The Initial Developer of the Original Code is Netscape Communications
1999-11-01 23:33:56 +00:00
# Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
1998-09-01 01:09:43 +00:00
# This Makefile helps you install Tinderbox. Define PERL and MYSQLTCL to
1998-09-01 01:09:43 +00:00
# the full pathnames of where you have these utilities. Define PREFIX
# to where you will install the running Tinderbox. Then "make install" should
1998-09-01 01:09:43 +00:00
# copy things for you.
#BONSAI = /home/httpd/html/bonsai
#CVSROOT = /cvsroot
#GZIP = /usr/bin/gzip
#PERL = /usr/bin/perl
#PREFIX = /home/httpd/html/tinderbox
#UUDECODE = /usr/bin/uudecode
FILES = \
2000-08-08 21:27:33 +00:00
Backwards.pm \
addimage.cgi \
2000-08-08 21:27:33 +00:00
addnote.cgi \
1998-09-01 01:09:43 +00:00
admintree.cgi \
2000-08-08 21:27:33 +00:00
buildwho.pl \
clean.pl \
doadmin.cgi \
ep_mac.pl \
ep_unix.pl \
1998-09-01 01:09:43 +00:00
ep_windows.pl \
fixupimages.pl \
handlemail.pl \
2000-08-08 21:27:33 +00:00
imagelog.pl \
1998-09-01 01:09:43 +00:00
processbuild.pl \
showbuilds.cgi \
showimages.cgi \
2000-08-08 21:27:33 +00:00
showlog.cgi \
tbglobals.pl \
2000-08-08 21:27:33 +00:00
Empty.html \
faq.html \
index.html \
examples/build-moz-smoke.pl \
2000-08-08 21:27:33 +00:00
examples/buildit.config \
examples/mozilla-unix.pl \
1998-09-01 01:09:43 +00:00
examples/mozilla-windows.pl
PICS = \
1afi003r.gif \
star.gif
install:
mkdir -p $(PREFIX) && \
mkdir -p $(PREFIX)/examples &&
1998-09-01 01:09:43 +00:00
for I in $(FILES); do \
echo Installing $$I && \
sed -e s#/usr/bonsaitools/bin/perl#$(PERL)#g \
-e s#/tools/ns/bin/perl5#$(PERL)#g \
-e s#/m/src#$(CVSROOT)#g \
-e s#/usr/local/bin/gzip#$(GZIP)#g \
-e s#/tools/ns/bin/uudecode#$(UUDECODE)#g \
-e s#/d/webdocs/projects/bonsai#$(BONSAI)#g \
$$I > $(PREFIX)/$$I && \
chmod 755 $(PREFIX)/$$I; done && \
for I in $(PICS); do \
echo Installing $$I && \
cp -f $$I $(PREFIX) && \
chmod 755 $(PREFIX)/$$I; done