libkarma/libkarma-0.1.0-install_dest.patch

53 lines
2.2 KiB
Diff
Raw Permalink Normal View History

diff -Nru libkarma-0.1.0.orig/Makefile libkarma-0.1.0/Makefile
--- libkarma-0.1.0.orig/Makefile 2007-05-15 18:29:02.000000000 +0200
+++ libkarma-0.1.0/Makefile 2007-08-14 12:07:09.000000000 +0200
@@ -18,10 +18,10 @@
install-sh karma-tools.spec
DOCS=THANKS TODO ChangeLog
-INSTALL_DIR := $(INSTALL) -d -o root -g root -m 0755
-INSTALL_FILE := $(INSTALL) -o root -g root -m 0644
-INSTALL_PROGRAM := $(INSTALL) -o root -g root -m 0755 # -s
-INSTALL_SCRIPT := $(INSTALL) -o root -g root -m 0755
+INSTALL_DIR := $(INSTALL) -d -m 0755
+INSTALL_FILE := $(INSTALL) -m 0644
+INSTALL_PROGRAM := $(INSTALL) -m 0755 # -s
+INSTALL_SCRIPT := $(INSTALL) -m 0755
all: libkarma tools karma-sharp
diff -Nru libkarma-0.1.0.orig/src/Makefile libkarma-0.1.0/src/Makefile
--- libkarma-0.1.0.orig/src/Makefile 2007-05-15 18:29:02.000000000 +0200
+++ libkarma-0.1.0/src/Makefile 2007-08-14 12:07:41.000000000 +0200
@@ -41,11 +41,11 @@
../install-sh -m 0755 -d $(DEST)/include
../install-sh -m 0755 -d $(DEST)/include/libkarma
../install-sh -m 0644 -t $(DEST)/lib/ $(LIBDIR)/$(TARGET).a
- ../install-sh -m 0755 -t $(PREFIX)/lib/ $(LIBDIR)/$(OUT_VERSION)
- $(RM) $(PREFIX)/lib/$(OUT_MAJOR)
- $(RM) $(PREFIX)/lib/$(OUT_BASE)
- $(LN_S) $(OUT_VERSION) $(PREFIX)/lib/$(OUT_MAJOR)
- $(LN_S) $(OUT_VERSION) $(PREFIX)/lib/$(OUT_BASE)
+ ../install-sh -m 0755 -t $(DEST)/lib/ $(LIBDIR)/$(OUT_VERSION)
+ $(RM) $(DEST)/lib/$(OUT_MAJOR)
+ $(RM) $(DEST)/lib/$(OUT_BASE)
+ $(LN_S) $(OUT_VERSION) $(DEST)/lib/$(OUT_MAJOR)
+ $(LN_S) $(OUT_VERSION) $(DEST)/lib/$(OUT_BASE)
../install-sh -m 0644 -t $(DEST)/include/libkarma/ $(INST_HEADERS)
uninstall:
diff -Nru libkarma-0.1.0.orig/tools/Makefile libkarma-0.1.0/tools/Makefile
--- libkarma-0.1.0.orig/tools/Makefile 2007-05-15 18:29:02.000000000 +0200
+++ libkarma-0.1.0/tools/Makefile 2007-08-14 12:07:24.000000000 +0200
@@ -45,8 +45,8 @@
install:
../install-sh -m 0755 -d $(DEST)/bin
../install-sh -m 0755 -t $(DEST)/bin/ $(TOOLS)
- ../install-sh -m 0755 -d $(PREFIX)/share/man/man1
- ../install-sh -m 0755 -t $(PREFIX)/share/man/man1 $(MANPAGES)
+ ../install-sh -m 0755 -d $(DEST)/share/man/man1
+ ../install-sh -m 0755 -t $(DEST)/share/man/man1 $(MANPAGES)
uninstall:
cd $(DEST)/bin && $(RM) $(TOOLS)