diff --git a/Makefile b/Makefile
index 588541ee5135d99ef72abeccabfe2a918d84ebf2..0421fcd0d11fed67c449a57c1ba50aae87cfd730 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ install:
 	${INSTALL} -m 0755 bin/*                       ${PREFIX}/share/fsl/bin/
 	${INSTALL} -m 0644 config/*                    ${PREFIX}/config/
 	${INSTALL} -m 0755 config/supportedGencodes.sh ${PREFIX}/config/
-	${INSTALL} -m 0644 doc/*                       ${PREFIX}/doc/
+	${INSTALL} -m 0644 doc/fsl.css                 ${PREFIX}/doc/
 	${INSTALL} -m 0644 doc/images/*                ${PREFIX}/doc/images/
 	${INSTALL} -m 0644 etc/fslconf/*               ${PREFIX}/etc/fslconf/
 	${INSTALL} -m 0644 etc/flirtsch/*              ${PREFIX}/etc/flirtsch/
diff --git a/tests/test_make_install.py b/tests/test_make_install.py
new file mode 100644
index 0000000000000000000000000000000000000000..81dbeee51043e1468522bdd6eda57597f65c1a45
--- /dev/null
+++ b/tests/test_make_install.py
@@ -0,0 +1,14 @@
+#!/usr/bin/env python
+#
+
+import os
+import sys
+import os.path as op
+import subprocess as sp
+import tempfile
+
+def test_make_install():
+    env = os.environ.copy()
+    with tempfile.TemporaryDirectory() as td:
+        env['FSLDEVDIR'] = td
+        sp.run(('make', 'install'), env=env, check=True)