Changeset 13


Ignore:
Timestamp:
05/30/05 12:06:44 (19 years ago)
Author:
tim
Message:

Made installation paths more configurable.

Added man page symlinking on install.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r12 r13  
    1 # $Id: Makefile 3 2005-02-18 03:59:23Z tim $
     1# $Id$
    22
    3 # Installation prefix.  Change to install elsewhere
     3# Installation prefixes.  Change to install elsewhere.
    44
    55PREFIX=/usr/local
     6BIN_PREFIX=$(PREFIX)/bin
     7DOC_PREFIX=$(PREFIX)/share/doc/reglookup
     8MAN_PREFIX=$(PREFIX)/man
    69
    710################################################################################
     
    2629
    2730install: all
    28         mkdir -p $(PREFIX)/bin
    29         mkdir -p $(PREFIX)/share/doc/reglookup
    30         cp -r build/bin/* $(PREFIX)/bin/
    31         cp -r build/doc/* $(PREFIX)/share/doc/reglookup/
     31        mkdir -p $(BIN_PREFIX)
     32        mkdir -p $(DOC_PREFIX)
     33        cp -r $(BUILD_BIN)/* $(BIN_PREFIX)
     34        cp -r $(BUILD_DOC)/* $(DOC_PREFIX)
     35        #XXX: This should be more generalized. 
     36        #     Possibly move it to doc/Makefile
     37        cp -s $(DOC_PREFIX)/man/man1/*  $(MAN_PREFIX)/man1
     38
    3239
    3340$(SUB_DIRS):
Note: See TracChangeset for help on using the changeset viewer.