dtopen: install symlinked helpers
authorJon Trulson <jon@radscan.com>
Thu, 5 Dec 2019 01:24:04 +0000 (18:24 -0700)
committerJon Trulson <jon@radscan.com>
Thu, 5 Dec 2019 01:26:32 +0000 (18:26 -0700)
With this commit, CDE can install and run now.  There are still some
programs/ that are not yet built:

dthelp dtksh dtappbuilder dtdocbook dtinfo nsgmls ttsnoop

and of course documentation (doc/).  But this is a great start.  For
the first time, things build, install, AND run correctly :)

cde/programs/dtopen/Makefile.am

index b069fb9ccc991ed8da045543f647122bc903e3d7..f70e955cca66930b7dfcf96b6850abc936ee0671 100644 (file)
@@ -13,3 +13,9 @@ dtopen: dtopen.src
        $(RM) $@
        $(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_ypdf