fix "find" calls by adding the current directory - necessary for macos

This commit is contained in:
lars 2006-12-18 15:00:38 +00:00
parent 4f1c4260c8
commit 3ff3d2df77
2 changed files with 5 additions and 5 deletions

View file

@ -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 ..."

View file

@ -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