23 lines
641 B
Diff
23 lines
641 B
Diff
diff -Nru txt2man-1.5.6.orig/Makefile txt2man-1.5.6/Makefile
|
|
--- txt2man-1.5.6.orig/Makefile 2011-03-16 22:45:13.000000000 +0100
|
|
+++ txt2man-1.5.6/Makefile 2014-03-25 16:50:16.379181287 +0100
|
|
@@ -1,5 +1,6 @@
|
|
# Makefile
|
|
prefix ?= /usr/local
|
|
+datadir ?= $(prefix)/share
|
|
version = txt2man-1.5.6
|
|
BIN = src2man bookman txt2man
|
|
MAN1 = src2man.1 txt2man.1 bookman.1
|
|
@@ -7,9 +8,9 @@
|
|
all: $(MAN1)
|
|
|
|
install: $(MAN1)
|
|
- mkdir -p $(prefix)/bin $(prefix)/man/man1
|
|
+ mkdir -p $(prefix)/bin $(datadir)/man/man1
|
|
cp $(BIN) $(prefix)/bin/
|
|
- cp $(MAN1) $(prefix)/man/man1
|
|
+ cp $(MAN1) $(datadir)/man/man1
|
|
|
|
clean:
|
|
rm -f *.1 *.txt *.ps *.pdf *.html
|