Makefile.in
changeset 198 47272dc0b12a
parent 197 9383bf4a2e2e
child 223 918b55e0e4a1
     1.1 --- a/Makefile.in	Mon Jul 02 19:40:54 2007 +0000
     1.2 +++ b/Makefile.in	Tue Jul 03 22:05:00 2007 +0000
     1.3 @@ -12,7 +12,6 @@
     1.4  DOCDIR := @@DOCDIR@@
     1.5  MANDIR := @@MANDIR@@
     1.6  DATE   := @@DATE@@
     1.7 -LOCAL  := @@LOCAL@@
     1.8  MAKE   := $(shell which make || type -p make || echo /usr/bin/make)
     1.9  
    1.10  ###############################################################################
    1.11 @@ -66,19 +65,12 @@
    1.12  #--------------------------------------
    1.13  # Install rules
    1.14  
    1.15 -# If using localy, don't install
    1.16 -install-local:
    1.17 -	@if [ "$(LOCAL)" = "1" ]; then                                      \
    1.18 -	     echo "You're using local copy as runtime. You can't install."; \
    1.19 -	     false;                                                         \
    1.20 -	 fi
    1.21 -
    1.22 -install-bin: install-local $(BINDIR)
    1.23 +install-bin: $(BINDIR)
    1.24  	@install -m 755 ct-ng $(BINDIR)/ct-ng
    1.25  
    1.26 -install-lib: install-local $(LIBDIR) install-lib-main install-lib-samples
    1.27 +install-lib: $(LIBDIR) install-lib-main install-lib-samples
    1.28  
    1.29 -install-lib-main: install-local $(LIBDIR)
    1.30 +install-lib-main: $(LIBDIR)
    1.31  	@for src_dir in config kconfig patches scripts tools; do            \
    1.32  	     tar cf - --exclude=.svn $${src_dir} |(cd $(LIBDIR); tar xf -); \
    1.33  	 done
    1.34 @@ -88,13 +80,13 @@
    1.35  
    1.36  # Samples need a little love:
    1.37  #  - change every occurence of CT_TOP_DIR to CT_LIB_DIR
    1.38 -install-lib-samples: install-local $(LIBDIR) install-lib-main
    1.39 +install-lib-samples: $(LIBDIR) install-lib-main
    1.40  	@tar cf - --exclude=.svn samples |(cd $(LIBDIR); tar xf -)
    1.41  	@for samp_file in $(LIBDIR)/samples/*/crosstool.config; do                  \
    1.42  	     sed -r -i -e 's,\$$\{CT_TOP_DIR\},\$$\{CT_LIB_DIR\},g;' $${samp_file}; \
    1.43  	 done
    1.44  
    1.45 -install-doc: install-local $(DOCDIR) $(MANDIR)
    1.46 +install-doc: $(DOCDIR) $(MANDIR)
    1.47  	@for doc_file in CREDITS docs/overview.txt; do  \
    1.48  	     install -m 644 "$${doc_file}" $(DOCDIR);   \
    1.49  	 done