* docbook2mdoc: Add hook to install.
@ 2014-04-30 9:37 kristaps
0 siblings, 0 replies; only message in thread
From: kristaps @ 2014-04-30 9:37 UTC (permalink / raw)
To: source
Log Message:
-----------
Add hook to install.
Modified Files:
--------------
docbook2mdoc:
Makefile
Revision Data
-------------
Index: Makefile
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/docbook2mdoc/Makefile,v
retrieving revision 1.11
retrieving revision 1.12
diff -LMakefile -LMakefile -u -p -r1.11 -r1.12
--- Makefile
+++ Makefile
@@ -1,11 +1,20 @@
VERSION = 0.0.7
CFLAGS += -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings
WWWPREFIX = /usr/vhosts/mdocml.bsd.lv/www/htdocs/docbook2mdoc
+PREFIX = /usr/local
+
+all: docbook2mdoc
docbook2mdoc: docbook2mdoc.o rules.o
$(CC) -o $@ docbook2mdoc.o rules.o -lexpat
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
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:37 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:37 docbook2mdoc: Add hook to install 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).