mirror of https://github.com/getdnsapi/getdns.git
Test & fix installing
This commit is contained in:
parent
34af4a22f2
commit
17d44a769c
|
@ -58,7 +58,7 @@ install: all getdns.pc @INSTALL_GETDNS_QUERY@
|
||||||
$(INSTALL) -m 644 $(srcdir)/LICENSE $(DESTDIR)$(docdir)
|
$(INSTALL) -m 644 $(srcdir)/LICENSE $(DESTDIR)$(docdir)
|
||||||
$(INSTALL) -m 644 $(srcdir)/NEWS $(DESTDIR)$(docdir)
|
$(INSTALL) -m 644 $(srcdir)/NEWS $(DESTDIR)$(docdir)
|
||||||
$(INSTALL) -m 644 $(srcdir)/README.md $(DESTDIR)$(docdir)
|
$(INSTALL) -m 644 $(srcdir)/README.md $(DESTDIR)$(docdir)
|
||||||
$(INSTALL) -m 644 -d $(DESTDIR)$(libdir)/pkgconfig
|
$(INSTALL) -m 755 -d $(DESTDIR)$(libdir)/pkgconfig
|
||||||
$(INSTALL) -m 644 getdns.pc $(DESTDIR)$(libdir)/pkgconfig
|
$(INSTALL) -m 644 getdns.pc $(DESTDIR)$(libdir)/pkgconfig
|
||||||
$(INSTALL) -m 755 -d $(DESTDIR)$(docdir)/spec
|
$(INSTALL) -m 755 -d $(DESTDIR)$(docdir)/spec
|
||||||
$(INSTALL) -m 644 $(srcdir)/spec/index.html $(DESTDIR)$(docdir)/spec
|
$(INSTALL) -m 644 $(srcdir)/spec/index.html $(DESTDIR)$(docdir)/spec
|
||||||
|
@ -235,7 +235,7 @@ distcheck: $(distdir).tar.gz
|
||||||
rm -rf $(distdir)
|
rm -rf $(distdir)
|
||||||
@echo "*** Package $(distdir).tar.gz is ready for distribution"
|
@echo "*** Package $(distdir).tar.gz is ready for distribution"
|
||||||
|
|
||||||
getdns.pc: getdns.pc.in
|
getdns.pc: $(srcdir)/getdns.pc.in
|
||||||
./config.status $@
|
./config.status $@
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in config.status
|
Makefile: $(srcdir)/Makefile.in config.status
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
BaseName: 105-install
|
||||||
|
Version: 1.0
|
||||||
|
Description: Install the library
|
||||||
|
CreationDate: vr dec 18 10:52:02 CET 2015
|
||||||
|
Maintainer: Willem Toorop
|
||||||
|
Category:
|
||||||
|
Component:
|
||||||
|
CmdDepends:
|
||||||
|
Depends: 100-compile.tpkg
|
||||||
|
Help:
|
||||||
|
Pre:
|
||||||
|
Post:
|
||||||
|
Test: 105-install.test
|
||||||
|
AuxFiles:
|
||||||
|
Passed:
|
||||||
|
Failure:
|
|
@ -0,0 +1,8 @@
|
||||||
|
# #-- 105-install.test --#
|
||||||
|
# source the master var file when it's there
|
||||||
|
[ -f ../.tpkg.var.master ] && source ../.tpkg.var.master
|
||||||
|
# use .tpkg.var.test for in test variable passing
|
||||||
|
[ -f .tpkg.var.test ] && source .tpkg.var.test
|
||||||
|
|
||||||
|
cd "${BUILDDIR}/build"
|
||||||
|
make install
|
|
@ -0,0 +1,16 @@
|
||||||
|
BaseName: 115-install-linked
|
||||||
|
Version: 1.0
|
||||||
|
Description: Link getdns_query program
|
||||||
|
CreationDate: vr dec 18 10:52:26 CET 2015
|
||||||
|
Maintainer: Willem Toorop
|
||||||
|
Category:
|
||||||
|
Component:
|
||||||
|
CmdDepends:
|
||||||
|
Depends: 110-link.tpkg
|
||||||
|
Help:
|
||||||
|
Pre:
|
||||||
|
Post:
|
||||||
|
Test: 115-install-linked.test
|
||||||
|
AuxFiles:
|
||||||
|
Passed:
|
||||||
|
Failure:
|
|
@ -0,0 +1,8 @@
|
||||||
|
# #-- 115-install-linked.test --#
|
||||||
|
# source the master var file when it's there
|
||||||
|
[ -f ../.tpkg.var.master ] && source ../.tpkg.var.master
|
||||||
|
# use .tpkg.var.test for in test variable passing
|
||||||
|
[ -f .tpkg.var.test ] && source .tpkg.var.test
|
||||||
|
|
||||||
|
cd "${BUILDDIR}/build"
|
||||||
|
make install-getdns_query
|
Loading…
Reference in New Issue