From 3ff3d2df77409b2de63047fd87ad417ce68cdb4c Mon Sep 17 00:00:00 2001 From: lars Date: Mon, 18 Dec 2006 15:00:38 +0000 Subject: [PATCH] fix "find" calls by adding the current directory - necessary for macos --- Makefile | 6 +++--- documents/Makefile | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 6609e52..5f488d8 100644 --- a/Makefile +++ b/Makefile @@ -138,9 +138,9 @@ source: release: EXPORT_FILE_SUFFIX := _release release: doku kopiere_programme - find -type f -name \*.html -exec unix2dos '{}' \; - find -type f -name \*.txt -exec unix2dos '{}' \; - find -type f -name \*.css -exec unix2dos '{}' \; + find . -type f -name \*.html -exec unix2dos '{}' \; + find . -type f -name \*.txt -exec unix2dos '{}' \; + find . -type f -name \*.css -exec unix2dos '{}' \; @echo "Erzeuge iso-Image ..." @$(ERZEUGE_ISO) @echo "Erzeuge zip-Archiv ..." diff --git a/documents/Makefile b/documents/Makefile index fab979b..714a962 100644 --- a/documents/Makefile +++ b/documents/Makefile @@ -1,13 +1,13 @@ # validation program VALIDATE_BIN := validate # our self written documents -LYX_FILES := $(shell find -name *.lyx -type f) +LYX_FILES := $(shell find . -name *.lyx -type f) # the tex output of lyx TEX_FILES := $(patsubst %.lyx,%.tex,$(LYX_FILES)) # output files of lyx that are already processed by mod_html_files.py EXPORT_DIRS := $(shell for a in $(LYX_FILES); do echo -n "$$a" | sed "s%/\([^/]*\).lyx%/export-%"; echo "$$(basename $${a%.lyx})" ; done) # png files (get converted to eps) -PNG_FILES := $(shell find -name *.png -type f) +PNG_FILES := $(shell find . -name *.png -type f) # converted eps files EPS_FILES := $(patsubst %.png,%.eps,$(PNG_FILES)) # menue and footer files