+ @echo ' cat $(srcdir)/smartd.conf.5.in | $$(MAN_FILTER) > $@'
+ @cat $(srcdir)/smartd.conf.5.in | $(MAN_FILTER) > $@
+
+update-smart-drivedb.8: update-smart-drivedb.8.in Makefile svnversion.h
+ @echo ' cat $(srcdir)/update-smart-drivedb.8.in | $$(MAN_FILTER) > $@'
+ @cat $(srcdir)/update-smart-drivedb.8.in | $(MAN_FILTER) > $@
+
+# Build Solaris specific man pages
+SOLARIS_MAN_FILTER = \
+ sed -e '/^\.TH/s, \([58]\) , !!\1!! ,' \
+ -e '/^\.BR/s, (\([578]\)), (!!\1!!),' \
+ -e 's,\\fP(\([578]\)),\\fP(!!\1!!),g' \
+ -e 's,!!5!!,4,g' -e 's,!!7!!,5,g' -e 's,!!8!!,1m,g' \
+ -e 's,/var/log/messages,/var/adm/messages,g'
+
+smartctl.1m: smartctl.8
+ @echo ' cat smartctl.8 | $$(SOLARIS_MAN_FILTER) > $@'
+ @cat smartctl.8 | $(SOLARIS_MAN_FILTER) > $@
+
+smartd.1m: smartd.8
+ @echo ' cat smartd.8 | $$(SOLARIS_MAN_FILTER) > $@'
+ @cat smartd.8 | $(SOLARIS_MAN_FILTER) > $@
+
+smartd.conf.4: smartd.conf.5
+ @echo ' cat smartd.conf.5 | $$(SOLARIS_MAN_FILTER) > $@'
+ @cat smartd.conf.5 | $(SOLARIS_MAN_FILTER) > $@
+
+update-smart-drivedb.1m: update-smart-drivedb.8
+ @echo ' cat update-smart-drivedb.8 | $$(SOLARIS_MAN_FILTER) > $@'
+ @cat update-smart-drivedb.8 | $(SOLARIS_MAN_FILTER) > $@
+