[Slashdotjp-dev 1088] [615] Change to append all-minified.js.jp content to all-minified.js

Zurück zum Archiv-Index

svnno****@sourc***** svnno****@sourc*****
2008年 4月 28日 (月) 16:36:25 JST


Revision: 615
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=615
Author:   tach
Date:     2008-04-28 16:36:24 +0900 (Mon, 28 Apr 2008)

Log Message:
-----------
Change to append all-minified.js.jp content to all-minified.js

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


-------------- next part --------------
Modified: images/Makefile
===================================================================
--- images/Makefile	2008-04-25 15:25:05 UTC (rev 614)
+++ images/Makefile	2008-04-28 07:36:24 UTC (rev 615)
@@ -31,11 +31,13 @@
 		sed -e 's/#commentwrap {clear: both;}/* html #commentwrap {clear: both;}/' | \
 		perl -npe 's/\bfont-family:[^;]+;//' | \
 		perl -npe 's/\bsans-serif\b//' > $@
+	echo >> $@
 	if [ -f $@.jp ]; then cat $@.jp >> $@; fi
 
 css/%.css.orig:
 	wget --no-proxy --no-verbose http://images.slashdot.org/$(patsubst css/%.orig,%, $@) -O $@
 
+all-minified.js: %: %.orig %.jp
 $(jses): %: %.js
 $(patsubst %, %.js, $(jses)): %: %.orig
 	cat $@.orig | \
@@ -43,6 +45,8 @@
 		sed -e 's/innerHTML="Paused"/innerHTML="停止中"/' | \
 		sed -e 's/innerHTML="Updated"/innerHTML="更新中"/' | \
 		sed -e 's/sitename="Slashdot";/sitename="スラッシュドット ジャパン";/' > $@
+	echo >> $@
+	test -f $@.jp && cat $@.jp >> $@
 
 %.js.orig:
 	wget --no-proxy --no-verbose http://slashdot.org/$(patsubst %.js.orig,%.js, $@) -O $@


Slashdotjp-dev メーリングリストの案内
Zurück zum Archiv-Index