From 77d846f54fef44bf574e5d434a304e43d2b72d23 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 19 Jan 2012 11:49:30 -0500 Subject: Simplify build file with theoretical "opkhelper". The build helper software package will be called "opkhelper" and will provide scripts inspired by Joey Hess's "debhelper" for Debian. --- diff --git a/build.example b/build.example index 9040a47..a3cffa4 100755 --- a/build.example +++ b/build.example @@ -39,18 +39,14 @@ libfoo.42.buildstamp: cd .. # Make a debugging binary, strip the regular one of debugging symbols, and # add to the regular binary a link directing GDB to the debugging binary. - objcopy --only-keep-debug dest/usr/lib/libfoo.so.42 \ - dest/usr/lib/debug/usr/lib/libfoo.so.42 - strip -g dest/usr/lib/libfoo.so.42 - objcopy --add-gnu-debuglink=/usr/lib/debug/usr/lib/libfoo.so.42 \ - dest/usr/lib/libfoo.so.42 + oh-strip -g /usr/lib/libfoo.so.42 # Move files from 'dest' into a binary package. - opk-installfiles libfoo.42 - opk-installfiles libfoo.42-dbg - opk-installfiles libfoo.42-dev + oh-installfiles libfoo.42 + oh-installfiles libfoo.42-dbg + oh-installfiles libfoo.42-dev # Pack each binary package. - opk-pack libfoo.42 - opk-pack libfoo.42-dbg - opk-pack libfoo.42-dev + oh-buildopk libfoo.42 + oh-buildopk libfoo.42-dbg + oh-buildopk libfoo.42-dev # Touch the build stamp to prevent these packages from being built again. touch libfoo.42.buildstamp -- cgit v0.9.1