2020-09-19 19:03:21 +02:00
|
|
|
--- qclib-2.2.0/Makefile 2015-10-26 07:46:09.000000000 +0100
|
|
|
|
+++ qclib-2.2.0/Makefile 2015-10-26 07:50:21.000000000 +0100
|
|
|
|
@@ -13,6 +13,7 @@
|
|
|
|
OBJECTS = $(patsubst %.c,%.o,$(CFILES))
|
|
|
|
.SUFFIXES: .o .c
|
|
|
|
DOCDIR ?= /usr/share/doc/packages/
|
|
|
|
+MANDIR ?= $(INSTALLDIR)/usr/share/man
|
|
|
|
|
|
|
|
ifneq ("${V}","1")
|
|
|
|
MAKEFLAGS += --quiet
|
|
|
|
@@ -76,14 +77,14 @@
|
2017-03-30 10:14:07 +02:00
|
|
|
|
|
|
|
install: libqc.a libqc.so.$(VERSION)
|
|
|
|
echo " INSTALL"
|
|
|
|
- install -Dm 644 libqc.a $(DESTDIR)/usr/lib64/libqc.a
|
|
|
|
- install -Dm 755 libqc.so.$(VERSION) $(DESTDIR)/usr/lib64/libqc.so.$(VERSION)
|
|
|
|
- ln -sr $(DESTDIR)/usr/lib64/libqc.so.$(VERSION) $(DESTDIR)/usr/lib64/libqc.so.$(VERM)
|
|
|
|
- ln -sr $(DESTDIR)/usr/lib64/libqc.so.$(VERSION) $(DESTDIR)/usr/lib64/libqc.so
|
|
|
|
+ install -Dm 644 libqc.a $(DESTDIR)/usr/$(LIBDIR)/libqc.a
|
|
|
|
+ install -Dm 755 libqc.so.$(VERSION) $(DESTDIR)/usr/$(LIBDIR)/libqc.so.$(VERSION)
|
|
|
|
+ ln -sr $(DESTDIR)/usr/$(LIBDIR)/libqc.so.$(VERSION) $(DESTDIR)/usr/$(LIBDIR)/libqc.so.$(VERM)
|
|
|
|
+ ln -sr $(DESTDIR)/usr/$(LIBDIR)/libqc.so.$(VERSION) $(DESTDIR)/usr/$(LIBDIR)/libqc.so
|
2020-09-19 19:03:21 +02:00
|
|
|
install -Dm 755 zname $(DESTDIR)/usr/bin/zname
|
|
|
|
install -Dm 755 zhypinfo $(DESTDIR)/usr/bin/zhypinfo
|
|
|
|
- install -Dm 644 zname.8 $(DESTDIR)/usr/share/man8/zname.8
|
|
|
|
- install -Dm 644 zhypinfo.8 $(DESTDIR)/usr/share/man8/zhypinfo.8
|
|
|
|
+ install -Dm 644 zname.8 $(DESTDIR)$(MANDIR)/man8/zname.8
|
|
|
|
+ install -Dm 644 zhypinfo.8 $(DESTDIR)$(MANDIR)/man8/zhypinfo.8
|
2017-03-30 10:14:07 +02:00
|
|
|
install -Dm 644 query_capacity.h $(DESTDIR)/usr/include/query_capacity.h
|
2020-09-19 19:03:21 +02:00
|
|
|
install -Dm 644 README $(DESTDIR)/$(DOCDIR)/qclib/README
|
|
|
|
install -Dm 644 LICENSE $(DESTDIR)/$(DOCDIR)/qclib/LICENSE
|