English Language flag
// Log In
// CVSweb
Project: FreeWRT
// Summary // Activity // Search // Tracker // Lists // News // SCM // Wiki

SCM Repository

ViewVC logotype

Diff of /branches/freewrt_1_0/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2714 by wbx, Wed Apr 18 22:54:25 2007 UTC revision 2715 by tg, Tue Jun 5 14:52:44 2007 UTC
# Line 33  help: Line 33  help:
33          @echo '  all          - Build everything as specified in .config'          @echo '  all          - Build everything as specified in .config'
34          @echo '                 (default if .config exists)'          @echo '                 (default if .config exists)'
35          @echo '  v            - Same as "all" but with logging to make.log enabled'          @echo '  v            - Same as "all" but with logging to make.log enabled'
36            @echo '  targz|tarbz2 - Create a distribution tarball (runs distclean)'
37    
38    
39  verbose: .prereq_done  verbose: .prereq_done
# Line 56  cleandir: .prereq_done Line 57  cleandir: .prereq_done
57  distclean: .prereq_done  distclean: .prereq_done
58          @${GMAKE_INV} distclean          @${GMAKE_INV} distclean
59          @-rm -rf lbin          @-rm -rf lbin
60          @-rm -f make.log .prereq_done          @-rm -f make.log .prereq_done _pax* freewrt.tar.*
61    
62  image_clean: .prereq_done  image_clean: .prereq_done
63          @${GMAKE_INV} image_clean          @${GMAKE_INV} image_clean
# Line 161  NO_ERROR=0 Line 162  NO_ERROR=0
162          @echo '===> Prerequisites checked successfully.'          @echo '===> Prerequisites checked successfully.'
163          @touch $@          @touch $@
164    
165  .PHONY: prereq prereq-noerror  _tarball: .prereq_done
166            @rm -f _pax*
167            @${GMAKE_INV} tools/paxmirabilis-compile
168            @install -c -m 555 tools_build/paxmirabilis/pax _pax
169            @${GMAKE_INV} distclean
170            @-rm -rf lbin
171            @-rm -f make.log .prereq_done freewrt.tar.*
172            @find . | \
173                grep -v -e '^\.$$' -e '^\./_pax' -e '/\.svn' | \
174                sed -e 's&^\./&&' | \
175                sort >_pax.flst
176    
177    targz: _tarball
178            @./_pax -w -b 512 -d -M dist -P -t -v -x ustar <_pax.flst | \
179                gzip -n9 >freewrt.tar.gz
180            @rm -f _pax*
181    
182    tarbgz2: _tarball
183            @./_pax -w -b 512 -d -M dist -P -t -v -x ustar <_pax.flst | \
184                bzip2 --best >freewrt.tar.bz2
185            @rm -f _pax*
186    
187    .PHONY: prereq prereq-noerror _tarball targz tarbz2

Legend:
Removed from v.2714  
changed lines
  Added in v.2715

root@freewrt.org:443
ViewVC Help
Powered by ViewVC 1.1.20