Migrate man page to asciidoc, add Makefile, add .gitignore
[genkernel.git] / Makefile
1 PACKAGE_VERSION = `/bin/fgrep GK_V= genkernel | sed "s/.*GK_V='\([^']\+\)'/\1/"`
2
3 genkernel.8: doc/genkernel.8.txt doc/asciidoc.conf Makefile
4         a2x --conf-file=doc/asciidoc.conf --attribute="genkernelversion=$(PACKAGE_VERSION)" \
5                  --format=manpage -D . "$<"
6
7 clean:
8         rm -f genkernel.8