* pod2mdoc: Sneak in Makefile easification.
@ 2014-04-02 8:15 kristaps
0 siblings, 0 replies; only message in thread
From: kristaps @ 2014-04-02 8:15 UTC (permalink / raw)
To: source
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-04-02 8:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-02 8:15 pod2mdoc: Sneak in Makefile easification 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).