diff --git a/Makefile b/Makefile index d94590b..7361e32 100644 --- a/Makefile +++ b/Makefile @@ -82,7 +82,7 @@ install : $(MDV_PROGRAMS) gwys.txt qn.cfg ######### QnetGateway ######### /bin/cp -f qngateway $(BINDIR) /bin/cp -f qnremote qnvoice $(BINDIR) - /bin/ln -s qn.cfg $(CFGDIR) + /bin/ln -s $(shell pwd)/qn.cfg $(CFGDIR) /bin/cp -f system/qngateway.service $(SYSDIR) systemctl enable qngateway.service systemctl daemon-reload @@ -90,7 +90,7 @@ install : $(MDV_PROGRAMS) gwys.txt qn.cfg ######### QnetLink ######### /bin/cp -f qnlink $(BINDIR) /bin/cp -f announce/*.dat $(CFGDIR) - /bin/ln -s gwys.txt $(CFGDIR) + /bin/ln -s $(shell pwd)/gwys.txt $(CFGDIR) /bin/cp -f exec_?.sh $(CFGDIR) /bin/cp -f system/qnlink.service $(SYSDIR) systemctl enable qnlink.service @@ -107,7 +107,7 @@ installdvap : $(DVP_PROGRAMS) gwys.txt qn.cfg ######### QnetGateway ######### /bin/cp -f qngateway $(BINDIR) /bin/cp -f qnremote qnvoice $(BINDIR) - /bin/ln -s qn.cfg $(CFGDIR) + /bin/ln -s $(shell pwd)/qn.cfg $(CFGDIR) /bin/cp -f system/qngateway.service $(SYSDIR) systemctl enable qngateway.service systemctl daemon-reload @@ -115,7 +115,7 @@ installdvap : $(DVP_PROGRAMS) gwys.txt qn.cfg ######### QnetLink ######### /bin/cp -f qnlink $(BINDIR) /bin/cp -f announce/*.dat $(CFGDIR) - /bin/ln -s gwys.txt $(CFGDIR) + /bin/ln -s $(shell pwd)/gwys.txt $(CFGDIR) /bin/cp -f exec_?.sh $(CFGDIR) /bin/cp -f system/qnlink.service $(SYSDIR) systemctl enable qnlink.service @@ -132,7 +132,7 @@ installdvrptr : $(DVR_PROGRAMS) gwys.txt qn.cfg ######### QnetGateway ######### /bin/cp -f qngateway $(BINDIR) /bin/cp -f qnremote qnvoice $(BINDIR) - /bin/ln -s qn.cfg $(CFGDIR) + /bin/ln -s $(shell pwd)/qn.cfg $(CFGDIR) /bin/cp -f system/qngateway.service $(SYSDIR) systemctl enable qngateway.service systemctl daemon-reload @@ -140,7 +140,7 @@ installdvrptr : $(DVR_PROGRAMS) gwys.txt qn.cfg ######### QnetLink ######### /bin/cp -f qnlink $(BINDIR) /bin/cp -f announce/*.dat $(CFGDIR) - /bin/ln -s gwys.txt $(CFGDIR) + /bin/ln -s $(shell pwd)/gwys.txt $(CFGDIR) /bin/cp -f exec_?.sh $(CFGDIR) /bin/cp -f system/qnlink.service $(SYSDIR) systemctl enable qnlink.service @@ -154,7 +154,7 @@ installdvrptr : $(DVR_PROGRAMS) gwys.txt qn.cfg systemctl start qndvrptr.service installdtmf : qndtmf - /bin/ln -s qndtmf $(BINDIR) + /bin/ln -s $(shell pwd)/qndtmf $(BINDIR) /bin/cp -f system/qndtmf.service $(SYSDIR) systemctl enable qndtmf.service systemctl daemon-reload @@ -162,7 +162,7 @@ installdtmf : qndtmf installmmdvm : $(MMPATH)/MMDVMhost $(MMPATH)/MMDVM.qn /bin/cp -f $(MMPATH)/MMDVMHost $(BINDIR) - /bin/ln -s $(MMPATH)/MMDVM.qn $(CFGDIR) + cd $(MMPATH) ; /bin/ln -s $(shell pwd)/MMDVM.qn $(CFGDIR) /bin/cp -f system/mmdvm.service $(SYSDIR) /bin/cp -f system/mmdvm.timer $(SYSDIR) systemctl enable mmdvm.timer