source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* docbook2mdoc: Add DESTDIR to Makefile as noted by Thomas Klausner.
@ 2014-04-30  9:46 kristaps
  0 siblings, 0 replies; only message in thread
From: kristaps @ 2014-04-30  9:46 UTC (permalink / raw)
  To: source

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-04-30  9:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-30  9:46 docbook2mdoc: Add DESTDIR to Makefile as noted by Thomas Klausner kristaps

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).