aboutsummaryrefslogtreecommitdiff
path: root/misc/dbview/Makefile.diff
diff options
context:
space:
mode:
authorOleg O. Chukaev <oleg.chukaev@mail.ru>2010-05-13 00:59:22 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:59:22 +0200
commit24476c05d65547bbb8352195d0be4cce8fc43b07 (patch)
tree46f448b45673bac238b85ca225586e7d8a581c31 /misc/dbview/Makefile.diff
parent2b1cd5198588ef220023b47e4e8fe121401cc4c7 (diff)
misc/dbview: Added to 13.0 repository
Diffstat (limited to 'misc/dbview/Makefile.diff')
-rw-r--r--misc/dbview/Makefile.diff25
1 files changed, 25 insertions, 0 deletions
diff --git a/misc/dbview/Makefile.diff b/misc/dbview/Makefile.diff
new file mode 100644
index 0000000000000..a3102fe8b11df
--- /dev/null
+++ b/misc/dbview/Makefile.diff
@@ -0,0 +1,25 @@
+--- Makefile.orig 2009-10-31 19:59:54.000000000 +0300
++++ Makefile 2009-10-31 20:09:49.000000000 +0300
+@@ -26,9 +26,9 @@
+ # Look where your install program is
+ #
+ INSTALL = /usr/bin/install
+-prefix = /usr
++prefix = ${DESTDIR}/usr
+ bindir = $(prefix)/bin
+-mandir = $(prefix)/share/$(MAN)
++mandir = $(prefix)/$(MAN)
+
+ obj = db_dump.o dbview.o version.o
+
+@@ -46,8 +46,8 @@
+ install: all
+ $(INSTALL) -d -o root -g root -m 755 $(bindir)
+ $(INSTALL) -s -o root -g root -m 755 dbview $(bindir)
+- $(INSTALL) -d -o $(MAN) -g $(MAN) -m 755 $(mandir)/man1
+- $(INSTALL) -o $(MAN) -g $(MAN) -m 644 dbview.1 $(mandir)/man1
++ $(INSTALL) -d -o root -g root -m 755 $(mandir)/man1
++ $(INSTALL) -o root -g root -m 644 dbview.1 $(mandir)/man1
+
+ clean:
+ rm -f dbview *.o *.log *~ *.orig Makefile.bak;