Commit 9edb302e authored by Anthony Fok's avatar Anthony Fok

Changed "cp" to "install -m 664 -p"

CVS version numbers

Makefile.common: 1.22 -> 1.23
parent ce3bdc8e
......@@ -109,7 +109,7 @@ endif
ifndef NOGENERICINSTDEP
$(HTMLDIR)/%.$(LANGUAGE).html: %.$(LANGUAGE).html
@echo copying $(@F) to $(HTMLDIR)
-@cp $(@F) $(HTMLDIR)
-@install -m 664 -p $(@F) $(HTMLDIR)
ifeq ($(LANGUAGE),en)
@echo making a link $(@D)/$(*F).html -\> $(@F)
@ln -sf $(@F) $(@D)/$(*F).html
......@@ -117,7 +117,7 @@ endif
endif
$(IMGDESTFILES): $(IMGFILES)
cp $(@F) $(HTMLDIR)
install -m 664 -p $(@F) $(HTMLDIR)
ifeq "$(LANGUAGE)" "en"
[ -f "$(HTMLDIR)/$(basename $(basename $(@F)))$(suffix $(@F))" ] || ln -s $(@F) $(HTMLDIR)/$(basename $(basename $(@F)))$(suffix $(@F))
endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment