Skip to content

Commit

Permalink
[Issue #14] Properly create iked.conf.5
Browse files Browse the repository at this point in the history
Submitted by: [email protected]
  • Loading branch information
xcllnt committed Jan 20, 2019
1 parent ec9aac9 commit 06645e1
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions iked/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,14 @@ $(iked_MAPS): genmap.sh $(iked_MAPS_IN)

$(MANPAGES): $(MANPAGES_IN)
case "$(MANTYPE)" in \
cat) $(FIXPATHSCMD) $(MANPAGES_IN) | mandoc > $@;; \
doc) $(FIXPATHSCMD) $(MANPAGES_IN) > $@;; \
man) $(FIXPATHSCMD) $(MANPAGES_IN) | \
cat) $(FIXPATHSCMD) $(@:.out=) | mandoc > $@;; \
doc) $(FIXPATHSCMD) $(@:.out=) > $@;; \
man) $(FIXPATHSCMD) $(@:.out=) | \
$(AWK) -f $(top_srcdir)/mdoc2man.awk > $@;; \
esac

$(CONFIGFILES): $(CONFIGFILES_IN)
conffile=`echo $@ | sed 's/.out$$//'`; \
$(FIXPATHSCMD) $(srcdir)/$${conffile} > $@
$(FIXPATHSCMD) $(srcdir)/$(@:.out=) > $@

install-exec-hook: $(CONFIGFILES) $(MANPAGES)
$(INSTALL) -d $(DESTDIR)$(sysconfdir)/iked/
Expand Down

0 comments on commit 06645e1

Please sign in to comment.