[Slashdotjp-dev 854] [371] * install force

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2007年 12月 25日 (火) 21:38:37 JST


Revision: 371
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=371
Author:   tach
Date:     2007-12-25 21:38:37 +0900 (Tue, 25 Dec 2007)

Log Message:
-----------
 * install force
 * remove font-family from CSS

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


-------------- next part --------------
Modified: images/Makefile
===================================================================
--- images/Makefile	2007-12-25 12:37:40 UTC (rev 370)
+++ images/Makefile	2007-12-25 12:38:37 UTC (rev 371)
@@ -9,7 +9,7 @@
 default: $(csses) $(sections) $(jses) images
 
 install: default
-	rsync -n -avHSC --exclude=/hc/ --exclude=Makefile --exclude=\*-stamp ./ $(DESTDIR)
+	rsync -avHSC --exclude=/hc/ --exclude=Makefile --exclude=\*-stamp ./ $(DESTDIR)
 
 images: images-stamp
 images-stamp:
@@ -22,7 +22,9 @@
 $(csses): %: css/%.css
 $(sections): %: css/slashdot_%.css
 $(patsubst %, css/%.css, $(csses)) $(patsubst %,css/slashdot_%.css, $(sections)): %: %.orig
-	cat $@.orig | sed -e 's/images\.slashdot\.org/images.slashdot.jp/' > $@
+	cat $@.orig | \
+		sed -e 's/images\.slashdot\.org/images.slashdot.jp/' | \
+		perl -npe 's/\bfont-family:[^;]+;//' > $@
 
 css/%.css.orig: FORCE
 	wget --no-proxy --no-verbose http://images.slashdot.org/$(patsubst css/%.orig,%, $@) -O $@


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