Changeset 50d34d3 in freewrt
- Timestamp:
- Jul 21, 2006, 2:02:55 AM (19 years ago)
- Branches:
- freewrt_1_0, freewrt_2_0
- Children:
- a9b77aa
- Parents:
- d419478
- File:
-
- 1 edited
-
package/rules.mk (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
package/rules.mk
rd419478 r50d34d3 25 25 $$(IDIR_$(1))/CONTROL/control: $(WRKBUILD)/.prepared 26 26 $(SCRIPT_DIR)/make-ipkg-dir.sh $$(IDIR_$(1)) ./ipkg/$(2).control $(3) $(4) 27 if [ "$$(IDEPEND_$(1))" != "" ]; then echo "Depends: $$(IDEPEND_$(1))" >> $$(IDIR_$(1))/CONTROL/control; fi27 [ -n "$$(IDEPEND_$(1))" ] && echo "Depends: $$(IDEPEND_$(1))" >>$$(IDIR_$(1))/CONTROL/control 28 28 for file in conffiles preinst postinst prerm postrm; do \ 29 29 [ -f ./ipkg/$(2).$$$$file ] && cp ./ipkg/$(2).$$$$file $$(IDIR_$(1))/CONTROL/$$$$file || true; \ … … 50 50 $(WRKBUILD)/.prepared: ${DISTFILES} 51 51 rm -rf $(WRKBUILD) 52 mkdir -p ${WRKDIR}53 52 ${EXTRACT_CMD} 54 if [ -d ./patches ]; then \ 55 $(PATCH) $(WRKBUILD) ./patches ; \ 56 fi 53 [ ! -d ./patches ] || $(PATCH) $(WRKBUILD) ./patches 57 54 touch $(WRKBUILD)/.prepared 58 55 endif … … 83 80 @$(MAKE) install-targets $(MAKE_TRACE) 84 81 85 mostlyclean:86 rebuild:87 $(CMD_TRACE) "rebuilding... "88 @-$(MAKE) mostlyclean 2>&1 >/dev/null89 if [ -f $(WRKBUILD)/.built ]; then \90 $(MAKE) clean $(MAKE_TRACE); \91 fi92 $(MAKE) compile $(MAKE_TRACE)93 94 82 $(WRKBUILD)/.configured: 95 83 $(WRKBUILD)/.built:
Note:
See TracChangeset
for help on using the changeset viewer.
