Skip to content

Commit

Permalink
create images subdirectory and don copy recursively to avoid copying …
Browse files Browse the repository at this point in the history
….svn dirs

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@5040 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
Martin Fuchs committed Feb 23, 2008
1 parent 529cf5d commit afd53fc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docbook/adminguide/en/Makefile
Expand Up @@ -25,7 +25,7 @@ BOOK:=administration_guide
#
STYLE=stylesheet.dsl

FILES:=$(BOOK).sgml $(wildcard *.sgml) $(STYLE) build builddate
FILES:=$(BOOK).sgml $(wildcard *.sgml) $(STYLE) $(BUILD_DIR) $(BUILD_DIR)/images builddate

IMAGES:=$(wildcard images/*.png)
EPSS:=$(IMAGES:.png=.eps)
Expand All @@ -47,8 +47,8 @@ rtf: $(BUILD_DIR)/$(BOOK).rtf

text: $(BUILD_DIR)/$(BOOK).txt

$(BUILD_DIR):
mkdir -p $@
$(BUILD_DIR) $(BUILD_DIR)/images:
mkdir -p $@/images

builddate:
echo -n $$(LANG="en_US";date "+%e %B %Y") > $@
Expand All @@ -61,7 +61,7 @@ html.tar.gz: html

$(BUILD_DIR)/$(BOOK)/$(BOOK).html: $(FILES) $(IMAGES)
jw -d $(STYLE)#html -f docbook -b html -o $(BUILD_DIR)/$(BOOK) $<
-cp -r images $(BUILD_DIR)/$(BOOK)/
-cp images/* $(BUILD_DIR)/$(BOOK)/images/

$(BUILD_DIR)/$(BOOK).pdf: $(FILES) $(IMAGES)
jw -d $(STYLE)#print -f docbook -b pdf -o $(BUILD_DIR) $<
Expand Down

0 comments on commit afd53fc

Please sign in to comment.