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 7052905f..2b6c46aa 100644 --- a/Makefile.am +++ b/Makefile.am @@ -20,3 +20,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 db4d905f..c82ada2f 100644 --- a/configure.ac +++ b/configure.ac @@ -94,6 +94,8 @@ AC_SUBST([moduledir]) XORG_RELEASE_VERSION +XORG_CHECK_LINUXDOC + AC_OUTPUT([ Makefile src/Makefile |