discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: Thomas Klausner <wiz@NetBSD.org>
To: discuss@mdocml.bsd.lv
Subject: Re: mdocml version 1.11.1 available
Date: Tue, 5 Apr 2011 11:24:45 +0200	[thread overview]
Message-ID: <20110405092445.GF7727@danbala.tuwien.ac.at> (raw)
In-Reply-To: <4D9ADACB.7010709@bsd.lv>

[-- Attachment #1: Type: text/plain, Size: 425 bytes --]

On Tue, Apr 05, 2011 at 11:03:07AM +0200, Kristaps Dzonsons wrote:
> mdoc.3, man.3, and roff.3 have been removed in favour of mandoc.3
> (as of Makefile 1.317).  Your downstream Makefile is probably out of
> date...

Ah true, sorry for the false alarm.

We had a manual install target... while removing that, I found two
issues:

PREFIX is set with =, please use ?= to set it.
LIBDIR is not created.

Patch attached.
 Thomas

[-- Attachment #2: patch-Makefile --]
[-- Type: text/plain, Size: 671 bytes --]

$NetBSD$

--- Makefile.orig	2011-04-04 22:07:17.000000000 +0000
+++ Makefile
@@ -15,7 +15,7 @@ VERSION		 = 1.11.1
 VDATE		 = 04 April 2011
 CFLAGS		+= -g -DHAVE_CONFIG_H -DVERSION="\"$(VERSION)\""
 CFLAGS     	+= -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings
-PREFIX		 = /usr/local
+PREFIX		?= /usr/local
 BINDIR		 = $(PREFIX)/bin
 INCLUDEDIR	 = $(PREFIX)/include/mandoc
 LIBDIR		 = $(PREFIX)/lib/mandoc
@@ -290,6 +290,7 @@ clean:
 install: all
 	mkdir -p $(DESTDIR)$(BINDIR)
 	mkdir -p $(DESTDIR)$(EXAMPLEDIR)
+	mkdir -p $(DESTDIR)$(LIBDIR)
 	mkdir -p $(DESTDIR)$(MANDIR)/man1
 	mkdir -p $(DESTDIR)$(MANDIR)/man3
 	mkdir -p $(DESTDIR)$(MANDIR)/man7

  reply	other threads:[~2011-04-05  9:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-04 21:20 Kristaps Dzonsons
2011-04-04 21:57 ` Yuri Pankov
2011-04-04 22:09   ` Kristaps Dzonsons
2011-04-05  8:54     ` Thomas Klausner
2011-04-05  9:03       ` Kristaps Dzonsons
2011-04-05  9:24         ` Thomas Klausner [this message]
2011-04-05  9:36           ` Kristaps Dzonsons
2011-04-05 12:29             ` Thomas Klausner
2011-04-05 10:45           ` Joerg Sonnenberger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110405092445.GF7727@danbala.tuwien.ac.at \
    --to=wiz@netbsd.org \
    --cc=discuss@mdocml.bsd.lv \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).