/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: 2014-03-23 19:55:18 UTC
  • Revision ID: teddy@recompile.se-20140323195518-amvoytwi12iheypo
Make mandos-client prefer /run/tmp over /tmp.

* plugins.d/mandos-client.c (init_gpgme): Add more const.
  (main): Make "tempdir" a pointer to the temporary directory, if one
          has been created, or NULL.  This also eliminates the need
          for the "tempdir_created" variable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
        --param man.authors.section.enabled     0 \
86
86
        /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl \
87
87
        $(notdir $<); \
 
88
        $(MANPOST) $(notdir $@);\
88
89
        if locale --all 2>/dev/null | grep --regexp='^en_US\.utf8$$' \
89
90
        && type man 2>/dev/null; then LANG=en_US.UTF-8 MANWIDTH=80 \
90
91
        man --warnings --encoding=UTF-8 --local-file $(notdir $@); \
91
92
        fi >/dev/null)
 
93
# DocBook-to-man post-processing to fix a '\n' escape bug
 
94
MANPOST=$(SED) --in-place --expression='s,\\\\en,\\en,g;s,\\n,\\en,g'
92
95
 
93
96
DOCBOOKTOHTML=$(strip xsltproc --nonet --xinclude \
94
97
        --param make.year.ranges                1 \