[routino] Fix doc/Makefile
Kevin Kofler
kkofler at fedoraproject.org
Sun Jul 21 01:01:30 UTC 2013
commit e7dc226b22e17e800531adb4da72f7c226375f93
Author: Kevin Kofler <Kevin at tigcc.ticalc.org>
Date: Sun Jul 21 03:01:04 2013 +0200
Fix doc/Makefile
routino-2.6-makefiles.patch | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
---
diff --git a/routino-2.6-makefiles.patch b/routino-2.6-makefiles.patch
index 65eed66..3c0b432 100644
--- a/routino-2.6-makefiles.patch
+++ b/routino-2.6-makefiles.patch
@@ -1,26 +1,27 @@
diff -ur routino-2.6/doc/Makefile routino-2.6-makefiles/doc/Makefile
--- routino-2.6/doc/Makefile 2013-07-06 11:42:58.000000000 +0200
-+++ routino-2.6-makefiles/doc/Makefile 2013-07-21 01:57:46.000000000 +0200
-@@ -28,9 +28,9 @@
++++ routino-2.6-makefiles/doc/Makefile 2013-07-21 02:59:59.000000000 +0200
+@@ -28,18 +28,18 @@
# Files to install
-HTML_FILES=$(notdir $(wildcard html/*.html)) $(notdir $(wildcard html/*.css))
-+HTML_FILES=$(notdir $(wildcard html/*.html)) $(notdir $(wildcard html/*.css)) $(notdir $(wildcard html/*.png))
++HTML_FILES=html/*.html html/*.css html/*.png
TXT_FILES=*.txt
-TOP_FILES=../agpl-3.0.txt
+TOP_FILES=../agpl-3.0.txt ../ChangeLog
########
-@@ -38,8 +38,8 @@
+ all:
-@[ -d $(WEBDOCDIR) ] && \
for file in $(HTML_FILES); do \
- if [ ! -f $(WEBDOCDIR)/$$file ] || [ html/$$file -nt $(WEBDOCDIR)/$$file ]; then \
+- if [ ! -f $(WEBDOCDIR)/$$file ] || [ html/$$file -nt $(WEBDOCDIR)/$$file ]; then \
- echo cp html/$$file $(WEBDOCDIR) ;\
- cp -f html/$$file $(WEBDOCDIR) ;\
-+ echo cp -pf html/$$file $(WEBDOCDIR) ;\
-+ cp -pf html/$$file $(WEBDOCDIR) ;\
++ if [ ! -f $(WEBDOCDIR)/$$file ] || [ $$file -nt $(WEBDOCDIR)/$$file ]; then \
++ echo cp -pf $$file $(WEBDOCDIR) ;\
++ cp -pf $$file $(WEBDOCDIR) ;\
fi ;\
done
@@ -91,7 +92,7 @@ diff -ur routino-2.6/Makefile.conf routino-2.6-makefiles/Makefile.conf
# Required for multi-threaded support (comment these two lines out if not required)
diff -ur routino-2.6/src/Makefile routino-2.6-makefiles/src/Makefile
--- routino-2.6/src/Makefile 2013-07-06 11:50:48.000000000 +0200
-+++ routino-2.6-makefiles/src/Makefile 2013-07-21 02:05:50.000000000 +0200
++++ routino-2.6-makefiles/src/Makefile 2013-07-21 02:42:29.000000000 +0200
@@ -58,8 +58,8 @@
-@[ -d $(WEBBINDIR) ] && \
for file in $(EXE); do \
More information about the scm-commits
mailing list