Apply various patches from Giacomo Comes <comes@naic.edu>

This makes certain changes if you are bold enough to use a different
installation prefix than /usr/dt:

- fix MANDIR output from dtsearchpath
- missing dtopn_* links
- /usr/dt/bin is always needed
- fix DTKORNSHELL output for dtlp
This commit is contained in:
Jon Trulson
2023-02-04 13:03:49 -07:00
parent 8dff0e37b7
commit 02b4302a73
4 changed files with 14 additions and 6 deletions

View File

@@ -14,8 +14,8 @@ dtopen: dtopen.src
$(GENCPP) -P -DXCOMM=# $(LOCAL_CPP_DEFINES) $< > $@
install-data-hook:
$(RM) $(DESTDIR)$(CDE_INSTALLATION_TOP)/bin/dtopen_*
cd $(DESTDIR)$(CDE_INSTALLATION_TOP)/bin && $(LN_S) dtopen dtopen_video
cd $(DESTDIR)$(CDE_INSTALLATION_TOP)/bin && $(LN_S) dtopen dtopen_image
cd $(DESTDIR)$(CDE_INSTALLATION_TOP)/bin && $(LN_S) dtopen dtopen_ps
cd $(DESTDIR)$(CDE_INSTALLATION_TOP)/bin && $(LN_S) dtopen dtopen_pdf
$(RM) $(DESTDIR)$(bindir)/dtopen_*
cd $(DESTDIR)$(bindir) && $(LN_S) dtopen dtopen_video
cd $(DESTDIR)$(bindir) && $(LN_S) dtopen dtopen_image
cd $(DESTDIR)$(bindir) && $(LN_S) dtopen dtopen_ps
cd $(DESTDIR)$(bindir) && $(LN_S) dtopen dtopen_pdf