Ignore:
Timestamp:
Sep 18, 2014 2:01:56 PM (6 years ago)
Author:
ldelgass
Message:

Add resources directory command line option, preliminary testing of new map
coords syntax

File:
1 edited

Legend:

Unmodified
Added
Removed
  • geovis/trunk/Makefile.in

    r4629 r4635  
    145145SERVER=geovis
    146146
    147 .PHONY: all docs install clean clean-docs distclean
     147resources       = \
     148                $(srcdir)/resources/placemark32.png \
     149                $(srcdir)/resources/world.tif
     150
     151.PHONY: all docs install install-resources clean clean-docs distclean
    148152
    149153all: $(SERVER)
     
    156160        $(CXX) -o $@ $(SERVER_OBJS) $(LIBS)
    157161
    158 install: all
     162install: install-server install-resources
     163
     164install-server: all
    159165        $(INSTALL_PROGRAM) $(SERVER) $(bindir)
     166
     167install-resources:
     168        $(MKDIR_P) $(libdir)/resources
     169        @for i in $(resources) ; do \
     170            echo "installing $$i..." ; \
     171            $(INSTALL_DATA) $$i $(libdir)/resources ; \
     172        done
    160173
    161174%.o: %.cpp
Note: See TracChangeset for help on using the changeset viewer.