[PD-cvs] externals/corelibs README,1.1,1.2 generate.sh,1.2,1.3
IOhannes m zmölnig
zmoelnig at users.sourceforge.net
Mon Sep 25 12:25:54 CEST 2006
Update of /cvsroot/pure-data/externals/corelibs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28277
Modified Files:
README generate.sh
Log Message:
delete *.c files before re-generating them (since else we get double entries in the files);
LATER remove all .c files from this directory (they ought to be generated on the fly);
check whether to use d_mayer_fft.c or d_fft_mayer.c
Index: README
===================================================================
RCS file: /cvsroot/pure-data/externals/corelibs/README,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** README 14 Jun 2006 05:23:22 -0000 1.1
--- README 25 Sep 2006 10:25:51 -0000 1.2
***************
*** 8,9 ****
--- 8,11 ----
+ IOhannes: these files should not be in here in the first place since they are generated
+
Index: generate.sh
===================================================================
RCS file: /cvsroot/pure-data/externals/corelibs/generate.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** generate.sh 25 Sep 2006 10:18:18 -0000 1.2
--- generate.sh 25 Sep 2006 10:25:51 -0000 1.3
***************
*** 1,8 ****
#!/bin/sh
# put these at the top of the file
touch lib_d_fft.c
echo '#include "../../pd/src/d_fftroutine.c"' >> lib_d_fft.c
! echo '#include "../../pd/src/d_fft_mayer.c"' >> lib_d_fft.c
for file in ../../pd/src/[dx]_*.c; do
--- 1,19 ----
#!/bin/sh
+ # delete all .c-files in order to not duplicate entries in there
+ ## LATER: ask hcs why he is using "touch" and ">>" instead of
+ ## an initial ">"
+ rm -f lib_?_*.c
+
# put these at the top of the file
touch lib_d_fft.c
echo '#include "../../pd/src/d_fftroutine.c"' >> lib_d_fft.c
! if [ -e "../../pd/src/d_fft_mayer.c" ]
! then
! echo '#include "../../pd/src/d_fft_mayer.c"' >> lib_d_fft.c
! else
! echo '#include "../../pd/src/d_mayer_fft.c"' >> lib_d_fft.c
! fi
!
for file in ../../pd/src/[dx]_*.c; do
***************
*** 19,23 ****
# these files hold code for other classes, but no classes
! rm lib_d_fftroutine.c lib_d_fft_mayer.c lib_d_resample.c
--- 30,34 ----
# these files hold code for other classes, but no classes
! rm -f lib_d_fftroutine.c lib_d_fft_mayer.c lib_d_mayer_fft.c lib_d_resample.c
More information about the Pd-cvs
mailing list