[PD-cvs] packages Makefile,1.9,1.10

Hans-Christoph Steiner eighthave at users.sourceforge.net
Tue Nov 22 01:57:08 CET 2005


Update of /cvsroot/pure-data/packages
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10367

Modified Files:
	Makefile 
Log Message:
tweaked sed rules so that they would work with MinGW's very crippled sed.  The PD_VERSION stuff is still in need of some serious tweaking

Index: Makefile
===================================================================
RCS file: /cvsroot/pure-data/packages/Makefile,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** Makefile	21 Nov 2005 23:01:18 -0000	1.9
--- Makefile	22 Nov 2005 00:57:05 -0000	1.10
***************
*** 361,365 ****
  	@echo PD_SRC $(PD_SRC)
  # change Pd's version number to reflect the extended build
! 	sed -i.bak 's/\(pd_version\[\] = "Pd version \)[0-9extndRC.-]*/\1$(PD_VERSION)-$(PACKAGE_VERSION)/'  $(PD_SRC)/src/s_main.c
  # apply all platform-neutral patches
  	for patch in $(wildcard $(CWD)/patches/*.patch); do \
--- 361,367 ----
  	@echo PD_SRC $(PD_SRC)
  # change Pd's version number to reflect the extended build
! 	cd $(PD_SRC)/src/ && \
! 		sed 's/\(pd_version\[\] = "Pd version \)[0-9extndRC.-]*/\1$(PD_VERSION)-$(PACKAGE_VERSION)/'  s_main.c > s_main.c.tmp && \
! 		mv s_main.c.tmp s_main.c
  # apply all platform-neutral patches
  	for patch in $(wildcard $(CWD)/patches/*.patch); do \
***************
*** 378,385 ****
  
  unpatch_pd:
! # this sed pattern won't work with TEST versions.  
! 	sed -i.bak \
! 		's/\(pd_version\[\] = "Pd version [0-9]\.[0-9]*[.-][0-9]*\)[0-9extndRC.-]*/\1/' \
! 		$(PD_SRC)/src/s_main.c
  # apply all platform-neutral patches
  	for patch in $(wildcard $(CWD)/patches/*.patch); do \
--- 380,388 ----
  
  unpatch_pd:
! # this sed pattern won't work with TEST versions
! 	cd $(PD_SRC)/src && \
! 		sed 's/\(pd_version\[\] = "Pd version [0-9]\.[0-9]*[.-][0-9]*\)[0-9extndRC.-]*/\1/' \
! 			s_main.c > s_main.c.tmp && \
! 		mv s_main.c.tmp s_main.c
  # apply all platform-neutral patches
  	for patch in $(wildcard $(CWD)/patches/*.patch); do \





More information about the Pd-cvs mailing list