Commit 715a3efa authored by chrfranke's avatar chrfranke
Browse files

Makefile.am: Use a separate build rule for each man page to

avoid compatibility problems with BSD make.

git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@3069 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent 43479e6e
......@@ -43,6 +43,9 @@ NOTES FOR FUTURE RELEASES: see TODO file.
<DEVELOPERS: ADDITIONS TO THE CHANGE LOG GO JUST BELOW HERE, PLEASE>
[CF] Makefile.am: Use a separate build rule for each man page to
avoid compatibility problems with BSD make.
[AS] drivedb.h updates:
- Fujitsu MHZ2 BK series
......
......@@ -444,15 +444,15 @@ MAN_FILTER = \
$(MAN_SAVESTATES) | \
$(MAN_ATTRIBUTELOG)
if OS_FREEBSD
.for file in $(man_MANS)
${file}: $(srcdir)/${file}.in Makefile svnversion.h
cat ${.ALLSRC:M*.in} | $(MAN_FILTER) > $@
.endfor
else
smart%: $(srcdir)/smart%.in Makefile svnversion.h
cat $< | $(MAN_FILTER) > $@
endif
# Implicit rule 'smart%: smart%.in ...' does not work with BSD make
smartctl.8: smartctl.8.in Makefile svnversion.h
cat $(srcdir)/smartctl.8.in | $(MAN_FILTER) > $@
smartd.8: smartd.8.in Makefile svnversion.h
cat $(srcdir)/smartd.8.in | $(MAN_FILTER) > $@
smartd.conf.5: smartd.conf.5.in Makefile svnversion.h
cat $(srcdir)/smartd.conf.5.in | $(MAN_FILTER) > $@
# Commands to convert man pages into .html and .txt
# TODO: configure
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment