Changeset 9171


Ignore:
Timestamp:
2007-10-07T03:55:03+02:00 (10 years ago)
Author:
blogic
Message:

added a function, that packages can call to make installing files/folders much cleaner and easier

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/package.mk

    r9063 r9171  
    122122endef 
    123123 
     124define pkg_install_files 
     125        $(foreach install_file,$(2),$(INSTALL_DIR) $(1)/`dirname $(install_file)`; $(CP) $(PKG_INSTALL_DIR)/$(install_file) $(1)/`dirname $(install_file)`;) 
     126endef 
     127 
    124128define Build/Prepare 
    125129  $(call Build/Prepare/Default,) 
Note: See TracChangeset for help on using the changeset viewer.