This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project gfxprim.git.
The branch, generate has been updated via c8a27730e311669696166d376863941b73e5e552 (commit) from 588c0e7afe142449c09802fbe59fcd4a2fed3d42 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- http://repo.or.cz/w/gfxprim.git/commit/c8a27730e311669696166d376863941b73e5e...
commit c8a27730e311669696166d376863941b73e5e552 Author: Cyril Hrubis metan@ucw.cz Date: Sat May 28 15:07:31 2011 +0200
Fix the clean target redefinition.
* The clean is moved into pylib so it's done exactly once
* The *.py is escaped in the find (otherwise it doesn't work in directory that contains any file with .py suffix)
diff --git a/Makefile b/Makefile index 35b28d4..2c103a7 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ TOPDIR=. -SUBDIRS=libs tests +SUBDIRS=libs tests pylib include include.mk
# diff --git a/include.mk b/include.mk index 6505a3d..2a103a9 100644 --- a/include.mk +++ b/include.mk @@ -33,10 +33,8 @@ endif
# # Potential python dependencies for generated files and scripts -# Add .pyc files to CLEAN list # -PYTHON_FILES=$(shell find "${PYLIBSDIR}" -name *.py) -CLEAN+=$(patsubst %.py, %.pyc, ${PYTHON_FILES}) +PYTHON_FILES=$(shell find "${PYLIBSDIR}" -name '*.py')
# # 1. Generate and include dependencies for all C sources diff --git a/pylib/Makefile b/pylib/Makefile new file mode 100644 index 0000000..af75868 --- /dev/null +++ b/pylib/Makefile @@ -0,0 +1,14 @@ +TOPDIR=.. + +# +# Add .pyc files to CLEAN list +# +CLEAN+=$(patsubst %.py, %.pyc, ${PYTHON_FILES}) + +include $(TOPDIR)/include.mk + +all: + ls $(PYLIBSDIR) + echo $(PYTHON_FILES) + echo $(CLEAN) + @true
-----------------------------------------------------------------------
Summary of changes: Makefile | 2 +- include.mk | 4 +--- pylib/Makefile | 14 ++++++++++++++ 3 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 pylib/Makefile
repo.or.cz automatic notification. Contact project admin jiri.bluebear.dluhos@gmail.com if you want to unsubscribe, or site admin admin@repo.or.cz if you receive no reply.