/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Teddy Hogeborn
  • Date: 2019-07-24 11:02:24 UTC
  • Revision ID: teddy@recompile.se-20190724110224-i5wwdsrv2h9ic4nh
Fix bashisms: Use "command -v" instead of "type"

* Makefile (DOCBOOKTOMAN): Change "type" to "command -v".
* mandos-to-cryptroot-unlock: - '' -

Show diffs side-by-side

added added

removed removed

Lines of Context:
107
107
        /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl \
108
108
        $(notdir $<); \
109
109
        if locale --all 2>/dev/null | grep --regexp='^en_US\.utf8$$' \
110
 
        && type man 2>/dev/null; then LANG=en_US.UTF-8 MANWIDTH=80 \
111
 
        man --warnings --encoding=UTF-8 --local-file $(notdir $@); \
112
 
        fi >/dev/null)
 
110
        && command -v man >/dev/null; then LANG=en_US.UTF-8 \
 
111
        MANWIDTH=80 man --warnings --encoding=UTF-8 --local-file \
 
112
        $(notdir $@); fi >/dev/null)
113
113
 
114
114
DOCBOOKTOHTML=$(strip xsltproc --nonet --xinclude \
115
115
        --param make.year.ranges                1 \