IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 12, 2023, 10:23:09 AM (3 years ago)
Author:
eugene
Message:

install colormaps in defined location, make them discoverable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20230313/Ohana/src/kapa2/Makefile

    r42427 r42489  
    1010SRC     =       $(HOME)/src
    1111INC     =       $(HOME)/include
     12DATA    =       $(DESTDATA)/kapa
    1213include ../../Makefile.Common
    1314
     
    110111OBJ  =  $(KAPA) $(PDF) $(BDRAW) $(PSFILES)
    111112
     113cmaps:
     114        @echo "installing colormaps for kapa"
     115        @if [ ! -d $(DATA)/colormaps ]; then mkdir -p $(DATA)/colormaps; fi
     116        @if [   -d $(HOME)/colormaps ]; then rm -f $(HOME)/colormaps/*~; fi
     117        @if [   -d $(HOME)/colormaps ]; then rm -f $(HOME)/colormaps/#*; fi
     118        @if [   -d $(HOME)/colormaps ]; then for i in `find $(HOME)/colormaps -name CVS -prune -o -type f -print`; do cp -f $$i $(DATA)/colormaps; done; fi
     119
    112120# dependancy rules for include files ########################
    113121$(OBJ): $(INC)/Ximage.h \
Note: See TracChangeset for help on using the changeset viewer.