diff options
-rw-r--r-- | Makefile.am | 7 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 858f637..98bb94a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,3 +21,10 @@ AUTOMAKE_OPTIONS = foreign SUBDIRS = src man + +if BUILD_LINUXDOC +README: README.sgml + $(MAKE_TEXT) README.sgml && mv README.txt README +endif + +EXTRA_DIST = README.sgml diff --git a/configure.ac b/configure.ac index 4447afa..fc2868c 100644 --- a/configure.ac +++ b/configure.ac @@ -66,6 +66,8 @@ AC_HEADER_STDC XORG_RELEASE_VERSION +XORG_CHECK_LINUXDOC + AC_OUTPUT([ Makefile src/Makefile |