From 936035a5b422820e3a021370627388357d6cb87e Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 27 Feb 2006 17:45:54 +0000 Subject: added patch to completely fix the versioning and move the PD_VERSION replacement to 'make install'; 'make unpatch_pd' now does the reverse of 'make patch_pd'; and PD_TEST_VERSION is now retrieved from m_pd.h svn path=/trunk/; revision=4623 --- packages/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'packages/Makefile') diff --git a/packages/Makefile b/packages/Makefile index b2ed5b50..18409ebe 100644 --- a/packages/Makefile +++ b/packages/Makefile @@ -641,12 +641,12 @@ devsymlinks_clean: patch_pd: @echo pd_src $(pd_src) # apply all platform-neutral patches - for patch in $(wildcard $(CWD)/patches/*.patch); do \ + for patch in $(shell ls -1 $(CWD)/patches/*.patch); do \ echo "Applying $$patch"; \ cd $(pd_src)/src/ && patch -p0 < $$patch; \ done # apply all platform-specific patches - for patch in $(wildcard $(CWD)/patches/$(OS_NAME)/*.patch); do \ + for patch in $(shell ls -1 $(CWD)/patches/$(OS_NAME)/*.patch); do \ echo "Applying $$patch"; \ cd $(pd_src)/src/ && patch -p0 < $$patch; \ done @@ -668,12 +668,12 @@ unpatch_pd: m_pd.h > m_pd.h.tmp && \ mv m_pd.h.tmp m_pd.h # apply all platform-specific patches - for patch in $(wildcard $(CWD)/patches/$(OS_NAME)/*.patch); do \ + for patch in $(shell ls -1r $(CWD)/patches/$(OS_NAME)/*.patch); do \ echo "Applying $$patch"; \ cd $(pd_src)/src/ && patch -p0 -R < $$patch; \ done # apply all platform-neutral patches - for patch in $(wildcard $(CWD)/patches/*.patch); do \ + for patch in $(shell ls -1r $(CWD)/patches/*.patch); do \ echo "Applying $$patch"; \ cd $(pd_src)/src/ && patch -p0 -R < $$patch; \ done -- cgit v1.2.1