aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sebastian@pipping.org>2010-12-06 13:21:54 +0100
committerSebastian Pipping <sebastian@pipping.org>2010-12-06 13:21:54 +0100
commit4c1d7997f82bf9800cc3c0a055b3a63aded74d8e (patch)
treeef5765971ba225bc49e3d724eb7aa1fb7a73c55f /Makefile
parentman page: Propagate rename of --no-initrdmodules to --no-ramdisk-modules (diff)
downloadgenkernel-4c1d7997f82bf9800cc3c0a055b3a63aded74d8e.tar.gz
genkernel-4c1d7997f82bf9800cc3c0a055b3a63aded74d8e.tar.bz2
genkernel-4c1d7997f82bf9800cc3c0a055b3a63aded74d8e.zip
Migrate man page to asciidoc, add Makefile, add .gitignore
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 00000000..ec7e55cb
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,8 @@
+PACKAGE_VERSION = `/bin/fgrep GK_V= genkernel | sed "s/.*GK_V='\([^']\+\)'/\1/"`
+
+genkernel.8: doc/genkernel.8.txt doc/asciidoc.conf Makefile
+ a2x --conf-file=doc/asciidoc.conf --attribute="genkernelversion=$(PACKAGE_VERSION)" \
+ --format=manpage -D . "$<"
+
+clean:
+ rm -f genkernel.8