Line 0
Link Here
|
|
|
1 |
--- web/Makefile.orig 2016-06-04 17:03:11 UTC |
2 |
+++ web/Makefile |
3 |
@@ -64,8 +64,8 @@ all-bin: all-exe |
4 |
@[ -d $(WEBBINDIR) ] || mkdir -p $(WEBBINDIR) |
5 |
@for file in $(EXE_FILES); do \ |
6 |
if [ -f $(SRCDIR)/$$file -a ! -f $(WEBBINDIR)/$$file ] || [ $(SRCDIR)/$$file -nt $(WEBBINDIR)/$$file ]; then \ |
7 |
- echo cp $(SRCDIR)/$$file $(WEBBINDIR) ;\ |
8 |
- cp -f $(SRCDIR)/$$file $(WEBBINDIR) ;\ |
9 |
+ echo install $(SRCDIR)/$$file $(WEBBINDIR) ;\ |
10 |
+ install $(SRCDIR)/$$file $(WEBBINDIR) ;\ |
11 |
fi ;\ |
12 |
done |
13 |
|
14 |
@@ -75,14 +75,14 @@ all-data: all-xml |
15 |
@[ -d $(WEBDATADIR) ] || mkdir -p $(WEBDATADIR) |
16 |
@for file in $(STANDARD_XML_FILES); do \ |
17 |
if [ ! -f $(WEBDATADIR)/$$file ] || [ $(XMLDIR)/routino-$$file -nt $(WEBDATADIR)/$$file ]; then \ |
18 |
- echo cp $(XMLDIR)/routino-$$file $(WEBDATADIR)/$$file ;\ |
19 |
- cp -f $(XMLDIR)/routino-$$file $(WEBDATADIR)/$$file ;\ |
20 |
+ echo install $(XMLDIR)/routino-$$file $(WEBDATADIR)/$$file ;\ |
21 |
+ install $(XMLDIR)/routino-$$file $(WEBDATADIR)/$$file ;\ |
22 |
fi ;\ |
23 |
done |
24 |
@for file in $(SPECIAL_XML_FILES); do \ |
25 |
if [ ! -f $(WEBDATADIR)/$$file ] || [ $(XMLDIR)/$$file -nt $(WEBDATADIR)/$$file ]; then \ |
26 |
- echo cp $(XMLDIR)/$$file $(WEBDATADIR)/$$file ;\ |
27 |
- cp -f $(XMLDIR)/$$file $(WEBDATADIR)/$$file ;\ |
28 |
+ echo install $(XMLDIR)/$$file $(WEBDATADIR)/$$file ;\ |
29 |
+ install $(XMLDIR)/$$file $(WEBDATADIR)/$$file ;\ |
30 |
fi ;\ |
31 |
done |
32 |
|
33 |
@@ -92,8 +92,8 @@ all-doc: |
34 |
@[ -d $(WEBDOCDIR) ] || mkdir -p $(WEBDOCDIR) |
35 |
@for file in $(DOC_FILES); do \ |
36 |
if [ ! -f $(WEBDOCDIR)/$$file ] || [ $(DOCDIR)/html/$$file -nt $(WEBDOCDIR)/$$file ]; then \ |
37 |
- echo cp $(DOCDIR)/html/$$file $(WEBDOCDIR) ;\ |
38 |
- cp -f $(DOCDIR)/html/$$file $(WEBDOCDIR) ;\ |
39 |
+ echo install $(DOCDIR)/html/$$file $(WEBDOCDIR) ;\ |
40 |
+ install $(DOCDIR)/html/$$file $(WEBDOCDIR) ;\ |
41 |
fi ;\ |
42 |
done |
43 |
|
44 |
@@ -116,12 +116,12 @@ all-translations: $(WEBWWWDIR)/router.ht |
45 |
ifeq ($(HOST),MINGW) |
46 |
|
47 |
$(WEBWWWDIR)/router.html: $(WEBWWWDIR)/router.html.en |
48 |
- @echo cp $< $@ |
49 |
- @cp -f $< $@ |
50 |
+ @echo install $< $@ |
51 |
+ @install $< $@ |
52 |
|
53 |
$(WEBWWWDIR)/visualiser.html: $(WEBWWWDIR)/visualiser.html.en |
54 |
- @echo cp $< $@ |
55 |
- @cp -f $< $@ |
56 |
+ @echo install $< $@ |
57 |
+ @install $< $@ |
58 |
|
59 |
else |
60 |
|