source@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: kristaps@mdocml.bsd.lv
To: source@mdocml.bsd.lv
Subject: pod2mdoc: Sneak in Makefile easification.
Date: Wed, 2 Apr 2014 04:15:26 -0400 (EDT)	[thread overview]
Message-ID: <201404020815.s328FQTw007771@krisdoz.my.domain> (raw)

Log Message:
-----------
Sneak in Makefile easification.

Modified Files:
--------------
    pod2mdoc:
        Makefile

Revision Data
-------------
Index: Makefile
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/pod2mdoc/Makefile,v
retrieving revision 1.5
retrieving revision 1.6
diff -LMakefile -LMakefile -u -p -r1.5 -r1.6
--- Makefile
+++ Makefile
@@ -1,5 +1,6 @@
 VERSION = 0.0.9
 CFLAGS += -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings 
+WWWPREFIX = /usr/vhosts/mdocml.bsd.lv/www/htdocs/docbook2mdoc
 
 pod2mdoc: pod2mdoc.o
 	$(CC) -o $@ pod2mdoc.o
@@ -7,10 +8,10 @@ pod2mdoc: pod2mdoc.o
 www: index.html pod2mdoc.1.html pod2mdoc-$(VERSION).tgz
 
 installwww: www
-	mkdir -p $(PREFIX)/snapshots
-	install -m 0444 index.html pod2mdoc.1.html $(PREFIX)
-	install -m 0444 pod2mdoc-$(VERSION).tgz $(PREFIX)/snapshots
-	install -m 0444 pod2mdoc-$(VERSION).tgz $(PREFIX)/snapshots/pod2mdoc.tgz
+	mkdir -p $(WWWPREFIX)/snapshots
+	install -m 0444 index.html pod2mdoc.1.html $(WWWPREFIX)
+	install -m 0444 pod2mdoc-$(VERSION).tgz $(WWWPREFIX)/snapshots
+	install -m 0444 pod2mdoc-$(VERSION).tgz $(WWWPREFIX)/snapshots/pod2mdoc.tgz
 
 dist: pod2mdoc-$(VERSION).tgz
 
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

                 reply	other threads:[~2014-04-02  8:15 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=201404020815.s328FQTw007771@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).