Changeset 338
- Timestamp:
- 07/22/06 03:02:42 (2 years ago)
- Files:
-
- trunk/freewrt/tools/Makefile (modified) (1 diff)
- trunk/freewrt/tools/sed/Makefile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/freewrt/tools/Makefile
r329 r338 13 13 14 14 all: install 15 install: check- pax$(TARGETS_INSTALL)15 install: check-lbin $(TARGETS_INSTALL) 16 16 clean: $(TARGETS_CLEAN) 17 17 18 check-pax: 18 check-lbin: 19 @[ -e ${TOPDIR}/lbin/sed ] || \ 20 rm -f $(TOOLS_STAMP_DIR)/.tools_sed-install 19 21 @[ -e ${TOPDIR}/lbin/pax ] || \ 20 22 rm -f $(TOOLS_STAMP_DIR)/.tools_paxmirabilis-install trunk/freewrt/tools/sed/Makefile
r316 r338 42 42 rm -rf $(STAGING_DIR)/share/locale $(STAGING_DIR)/usr/info \ 43 43 $(STAGING_DIR)/usr/man $(STAGING_DIR)/usr/share/doc; fi 44 @ln -sf $(STAGING_DIR)/$(PKG_TARGET_BINARY) $(TOPDIR)/lbin/sed45 44 46 use-sed-host-binary: 47 @if [ -x /usr/bin/sed ]; then SED="/usr/bin/sed"; else \ 48 if [ -x /bin/sed ]; then SED="/bin/sed"; fi; fi; \ 49 mkdir -p $(STAGING_DIR)/bin; \ 50 rm -f $(STAGING_DIR)/$(PKG_TARGET_BINARY); \ 51 ln -s $$SED $(STAGING_DIR)/$(PKG_TARGET_BINARY) 45 install-lbin: ${WRKBUILD}/${PKG_BINARY} 46 install -c -s -m 555 ${WRKBUILD}/${PKG_BINARY} ${TOPDIR}/lbin/sed 52 47 53 48 source: 54 49 prepare: 55 50 compile: 56 install: build-sed-host-binary 51 install: build-sed-host-binary install-lbin 57 52 clean: 58 53 rm -rf $(WRKBUILD)


