]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/texinfo
Cleanup toolchain scripts
[ipfire-2.x.git] / lfs / texinfo
index 8927156449752be561b8a6f54ee222d40e8e8540..535612c44a9432c6efeca7e6271b47fe9e546421 100644 (file)
@@ -35,10 +35,8 @@ DIR_APP    = $(DIR_SRC)/texinfo-6.3
 #
 ifeq "$(ROOT)" ""
   TARGET = $(DIR_INFO)/$(THISAPP)
-  EXTRA_CONFIG = --prefix=/usr
 else
   TARGET = $(DIR_INFO)/$(THISAPP)-tools
-  EXTRA_CONFIG = --prefix=$(TOOLS_DIR)
 endif
 
 ###############################################################################
@@ -79,7 +77,7 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && ./configure $(EXTRA_CONFIG) --disable-nls
+       cd $(DIR_APP) && ./configure --prefix=$(PREFIX) --disable-nls
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
        @rm -rf $(DIR_APP)