Changeset 6248 for geovis/trunk


Ignore:
Timestamp:
Apr 5, 2016, 1:28:08 PM (9 years ago)
Author:
ldelgass
Message:

Add configure var for resources dir

Location:
geovis/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • geovis/trunk/Makefile.in

    r6245 r6248  
    3838SVN_VERSION     = $(shell svnversion $(srcdir) | sed 's/Unversioned directory/unknown/')
    3939STATSDIR        = @STATSDIR@
     40RESOURCES_DIR   = @RESOURCES_DIR@
    4041
    4142GL_LIB_SPEC     = -lGL -lm
     
    197198
    198199install-resources:
    199         $(MKDIR_P) $(libdir)/resources
     200        $(MKDIR_P) $(RESOURCES_DIR)
    200201        @for i in $(resources) ; do \
    201202            echo "installing $$i..." ; \
    202             $(INSTALL_DATA) $$i $(libdir)/resources ; \
     203            $(INSTALL_DATA) $$i $(RESOURCES_DIR) ; \
    203204        done
    204205
  • geovis/trunk/configure

    r4595 r6248  
    631631TCL_INC_SPEC
    632632STATSDIR
     633RESOURCES_DIR
    633634EGREP
    634635GREP
     
    41474148fi
    41484149
     4150RESOURCES_DIR=${libdir}/resources
     4151
    41494152
    41504153
  • geovis/trunk/configure.ac

    r6047 r6248  
    110110fi
    111111
     112RESOURCES_DIR=${libdir}/resources
     113
    112114AC_CHECK_HEADERS([stdio.h unistd.h stdlib.h string.h sys/types.h])
    113115AC_CHECK_HEADERS([sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h])
     
    115117AC_CHECK_FUNCS([accept4])
    116118
     119AC_SUBST(RESOURCES_DIR)
    117120AC_SUBST(STATSDIR)
    118121AC_SUBST(TCL_INC_SPEC)
Note: See TracChangeset for help on using the changeset viewer.