summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2009-06-25 23:31:30 +0200
committerJan Holesovsky <kendy@suse.cz>2009-06-25 23:31:30 +0200
commit6866425a721805e7349c37889d3196d8a7fac8ff (patch)
tree51bf7ac06a1b448e937f849dfbfabf58dc22ee1b /build
parentd9bde65ea2c5e82744389ddcc5fbce9f50a37c4c (diff)
Split build: Add the 'build' module.
Contains the build dependencies, as well as some helper scripts, and pkg-config stuff. * build/bin/noulf: Ignore ulf. * build/bin/noulfconv: Ignore ulf. * build/prj/build.lst: The build dependencies. * build/src/.gitignore: * build/src/OpenOffice.org-bootstrap.pc.in: To be able to get the install prefix later. * build/stamp/README.txt: Just for the build stamps. * build/stamp/.gitignore:
Diffstat (limited to 'build')
-rwxr-xr-xbuild/bin/noulf29
-rwxr-xr-xbuild/bin/noulfconv29
-rw-r--r--build/prj/build.lst1
-rw-r--r--build/src/.gitignore1
-rw-r--r--build/src/OpenOffice.org-bootstrap.pc.in8
-rw-r--r--build/stamp/.gitignore3
-rw-r--r--build/stamp/README.txt1
7 files changed, 72 insertions, 0 deletions
diff --git a/build/bin/noulf b/build/bin/noulf
new file mode 100755
index 000000000000..3bb98ec85662
--- /dev/null
+++ b/build/bin/noulf
@@ -0,0 +1,29 @@
+#!/usr/bin/perl -w
+
+use strict;
+
+# dummy 'ulfex' / transex3/source/lngex.cxx equivalent, cf unitools.mk
+
+my ($in, $out);
+my $ignored = '';
+while (my $arg = shift @ARGV) {
+ if ($arg eq '-i') {
+ $in = shift @ARGV;
+ } elsif ($arg eq '-o') {
+ $out = shift @ARGV;
+ } else {
+ $ignored .= " $arg";
+ }
+}
+
+print "noulf: in $in, out $out, ignored args: '$ignored'\n";
+
+# copy it straight ...
+my ($infile, $outfile);
+open $infile, "$in" || die "can't open $in: $!";
+open $outfile, ">$out" || die "can't open $out: $!";
+while (<$infile>) {
+ print $outfile $_;
+}
+close $outfile;
+close ($infile);
diff --git a/build/bin/noulfconv b/build/bin/noulfconv
new file mode 100755
index 000000000000..0f9965b0a9a6
--- /dev/null
+++ b/build/bin/noulfconv
@@ -0,0 +1,29 @@
+#!/usr/bin/perl -w
+
+use strict;
+
+# dummy 'ulfconv' / setup_native/source/ulfconv.cxx equivalent, cf. unitools.mk
+
+my ($in, $out);
+my $ignored = '';
+while (my $arg = shift @ARGV) {
+ if ($arg eq '-o') {
+ $out = shift @ARGV;
+ } elsif ($arg eq '-t') {
+ shift @ARGV; # ignore the translation table
+ } else {
+ $in = $arg;
+ }
+}
+
+print "noulfconv: in $in, out $out\n";
+
+# copy it straight ...
+my ($infile, $outfile);
+open $infile, "$in" || die "can't open $in: $!";
+open $outfile, ">$out" || die "can't open $out: $!";
+while (<$infile>) {
+ print $outfile $_;
+}
+close $outfile;
+close ($infile);
diff --git a/build/prj/build.lst b/build/prj/build.lst
new file mode 100644
index 000000000000..1cbde3b66229
--- /dev/null
+++ b/build/prj/build.lst
@@ -0,0 +1 @@
+bb build : scp2 solenv soltools stlport NULL
diff --git a/build/src/.gitignore b/build/src/.gitignore
new file mode 100644
index 000000000000..678808b0d0de
--- /dev/null
+++ b/build/src/.gitignore
@@ -0,0 +1 @@
+/OpenOffice.org-bootstrap.pc
diff --git a/build/src/OpenOffice.org-bootstrap.pc.in b/build/src/OpenOffice.org-bootstrap.pc.in
new file mode 100644
index 000000000000..e7d084ec8a8b
--- /dev/null
+++ b/build/src/OpenOffice.org-bootstrap.pc.in
@@ -0,0 +1,8 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+ooo_prefix=@OOO_PREFIX@
+
+Name: OpenOffice.org bootstrap
+Description: OpenOffice.org bootstrap package
+Version: @PACKAGE_VERSION@
diff --git a/build/stamp/.gitignore b/build/stamp/.gitignore
new file mode 100644
index 000000000000..a9a95e9fb014
--- /dev/null
+++ b/build/stamp/.gitignore
@@ -0,0 +1,3 @@
+/*
+!/README.txt
+!/.gitignore
diff --git a/build/stamp/README.txt b/build/stamp/README.txt
new file mode 100644
index 000000000000..a28c9d7c578e
--- /dev/null
+++ b/build/stamp/README.txt
@@ -0,0 +1 @@
+This directory is for storing the stamps generated by the toplevel Makefile.