summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-06-21 02:03:31 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-06-21 02:03:31 (EDT)
commit9013caa232468f7a5feb5f77ebee6891fc17aed3 (patch)
treeacf1b6e0619361ccbd2c68f9db8e84ec60613346 /build
Initial commit.gcc-defaults/0.1
Diffstat (limited to 'build')
-rwxr-xr-xbuild19
1 files changed, 19 insertions, 0 deletions
diff --git a/build b/build
new file mode 100755
index 0000000..cd221a7
--- /dev/null
+++ b/build
@@ -0,0 +1,19 @@
+#! /usr/bin/make -f
+
+PKGS = gcc g++ cpp
+
+$(PKGS): gcc-defaults.buildstamp
+
+.SILENT: gcc-defaults.buildstamp
+gcc-defaults.buildstamp:
+ mkdir -p dest/usr/bin dest/usr/share/man/man1
+ cp src/c89/c89.sh dest/usr/bin/c89
+ cp src/c99/c99.sh dest/usr/bin/c99
+ cp src/c89/c89.1 dest/usr/share/man/man1/c89.1
+ cp src/c99/c99.1 dest/usr/share/man/man1/c99.1
+ ln -s gcc-4.6 dest/usr/bin/gcc
+ oh-installfiles $(PKGS)
+ oh-installdocs cpp
+ oh-gencontrol $(PKGS)
+ oh-buildopk $(PKGS)
+ touch $@