summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-02-24 16:28:27 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-02-24 16:28:27 +0000
commit2ee8799fac7d361c85e11bbbf9d0b3aa485672a3 (patch)
treef19386b09ba0742ce36a56e0ca8ddaff784b924a
parent3e4c6af6ad41182ab3efc5ebe796005648ba4733 (diff)
downloadkmod-2ee8799fac7d361c85e11bbbf9d0b3aa485672a3.tar.gz
kmod.morph: add
It has some hacks to get around not using gtk-doc
-rw-r--r--kmod.morph16
1 files changed, 16 insertions, 0 deletions
diff --git a/kmod.morph b/kmod.morph
new file mode 100644
index 0000000..346d237
--- /dev/null
+++ b/kmod.morph
@@ -0,0 +1,16 @@
+{
+ "name": "kmod",
+ "kind": "chunk",
+ "configure-commands": [
+ "rm -rf libkmod/docs",
+ "sed -i -e'/SUBDIRS/s/\\S*doc\\S*//' Makefile.am",
+ "sed -i -e'/AC_CONFIG_FILES(\\[/,/])/{/docs/d}' configure.ac",
+ "./configure --prefix=/usr --bindir=/bin --libdir=/lib --sysconfdir=/etc --with-xz --with-zlib"
+ ],
+ "build-commands": [
+ "make"
+ ],
+ "install-commands": [
+ "make DESTDIR=\"$DESTDIR\" install"
+ ]
+}