af991d679e
Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
43 lines
1.3 KiB
Diff
43 lines
1.3 KiB
Diff
diff --git a/Makefile.in b/Makefile.in
|
|
index 40595f9..7587577 100644
|
|
--- a/Makefile.in
|
|
+++ b/Makefile.in
|
|
@@ -12,6 +12,7 @@ SHELL = @SHELL@
|
|
|
|
# Package information
|
|
PACKAGE = @PACKAGE_NAME@
|
|
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|
VERSION = @PACKAGE_VERSION@
|
|
PACKAGEDIR = $(PACKAGE)-$(VERSION)
|
|
PACKAGETGZ = $(PACKAGE)-$(VERSION).tar.gz
|
|
@@ -36,8 +37,8 @@ INCLUDEDIR = @includedir@
|
|
LIBDIR = @libdir@
|
|
BINDIR = @bindir@
|
|
LIBEXECDIR = @libexecdir@
|
|
-DATADIR = @datadir@/$(PACKAGE)
|
|
MAN1DIR = @mandir@/man1
|
|
+DOCDIR = @docdir@
|
|
PCDIR = @libdir@/pkgconfig
|
|
DESTDIR =
|
|
|
|
@@ -117,8 +118,8 @@ install :
|
|
cp -Rf $(LIBRARYFILES) $(DESTDIR)$(LIBDIR)
|
|
mkdir -p $(DESTDIR)$(BINDIR)
|
|
cp -Rf $(COMMANDFILES) $(DESTDIR)$(BINDIR)
|
|
- mkdir -p $(DESTDIR)$(DATADIR)
|
|
- cp -Rf $(DOCUMENTFILES) $(DESTDIR)$(DATADIR)
|
|
+ mkdir -p $(DESTDIR)$(DOCDIR)
|
|
+ cp -Rf $(DOCUMENTFILES) $(DESTDIR)$(DOCDIR)
|
|
mkdir -p $(DESTDIR)$(MAN1DIR)
|
|
cd man && cp -Rf $(MAN1FILES) $(DESTDIR)$(MAN1DIR)
|
|
mkdir -p $(DESTDIR)$(PCDIR)
|
|
@@ -140,7 +141,7 @@ uninstall :
|
|
-cd $(DESTDIR)$(LIBDIR) && rm -f $(LIBRARYFILES)
|
|
-cd $(DESTDIR)$(BINDIR) && rm -f $(COMMANDFILES)
|
|
-cd $(DESTDIR)$(MAN1DIR) && rm -f $(MAN1FILES)
|
|
- -rm -rf $(DESTDIR)$(DATADIR)
|
|
+ -rm -rf $(DESTDIR)$(DOCDIR)
|
|
-cd $(DESTDIR)$(PCDIR) && rm -f $(PCFILES)
|
|
-[ "$$UID" = 0 ] && PATH=/sbin:/usr/sbin:$(PATH) ldconfig 2>/dev/null || true
|
|
|