From: kristaps@mdocml.bsd.lv
To: source@mdocml.bsd.lv
Subject: docbook2mdoc: Add DESTDIR to Makefile as noted by Thomas Klausner.
Date: Wed, 30 Apr 2014 05:46:37 -0400 (EDT) [thread overview]
Message-ID: <201404300946.s3U9kb9M009638@krisdoz.my.domain> (raw)
Log Message:
-----------
Add DESTDIR to Makefile as noted by Thomas Klausner.
Modified Files:
--------------
docbook2mdoc:
Makefile
Revision Data
-------------
Index: Makefile
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/docbook2mdoc/Makefile,v
retrieving revision 1.12
retrieving revision 1.13
diff -LMakefile -LMakefile -u -p -r1.12 -r1.13
--- Makefile
+++ Makefile
@@ -11,10 +11,10 @@ docbook2mdoc: docbook2mdoc.o rules.o
www: index.html docbook2mdoc.1.html docbook2mdoc-$(VERSION).tgz README.txt
install: all
- mkdir -p $(PREFIX)/bin
- mkdir -p $(PREFIX)/man/man1
- install -m 0755 docbook2mdoc $(PREFIX)/bin
- install -m 0444 docbook2mdoc.1 $(PREFIX)/man/man1
+ mkdir -p $(DESTDIR)$(PREFIX)/bin
+ mkdir -p $(DESTDIR)$(PREFIX)/man/man1
+ install -m 0755 docbook2mdoc $(DESTDIR)$(PREFIX)/bin
+ install -m 0444 docbook2mdoc.1 $(DESTDIR)$(PREFIX)/man/man1
installwww: www
mkdir -p $(WWWPREFIX)/snapshots
--
To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv
reply other threads:[~2014-04-30 9:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=201404300946.s3U9kb9M009638@krisdoz.my.domain \
--to=kristaps@mdocml.bsd.lv \
--cc=source@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).