[Slashdotjp-dev 1320] [851] fix for adding comments.js and sectionprefs.js

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2008年 11月 28日 (金) 20:55:34 JST


Revision: 851
          http://svn.sourceforge.jp/view?root=slashdotjp&view=rev&rev=851
Author:   tach
Date:     2008-11-28 20:55:34 +0900 (Fri, 28 Nov 2008)

Log Message:
-----------
fix for adding comments.js and sectionprefs.js

Modified Paths:
--------------
    test/images/Makefile


-------------- next part --------------
Modified: test/images/Makefile
===================================================================
--- test/images/Makefile	2008-11-28 11:39:28 UTC (rev 850)
+++ test/images/Makefile	2008-11-28 11:55:34 UTC (rev 851)
@@ -4,7 +4,7 @@
 
 sections = apple ask books developer games hardware it linux mobile politics yro
 csses = core-tidied comments firehose search polls calendar admin admin-topic-popup print handheld slashcode_lite slashcode_low_bw iestyles ie6 ie7 ie8
-jses = all-minified
+jses = all-minified comments sectionprefs
 
 default: update
 update: $(csses) $(sections) $(jses) images
@@ -49,7 +49,7 @@
 		sed -e 's/innerHTML="Updated"/innerHTML="更新中"/' | \
 		sed -e 's/sitename="Slashdot";/sitename="スラッシュドット ジャパン";/' > $@
 	echo >> $@
-	test -f $@.jp && cat $@.jp >> $@
+	if [ -f $@.jp ]; then cat $@.jp >> $@; fi
 
 %.js.orig:
 	wget --no-proxy --no-verbose http://images.slashdot.org/$(patsubst %.js.orig,%.js, $@) -O $@


Slashdotjp-dev メーリングリストの案内
Back to archive index