Browse Subversion Repository
Contents of /gaffiot/Makefile-imgs.mk
Parent Directory
| Revision Log
Revision 58 -
( show annotations)
( download)
Thu Nov 3 04:39:24 2011 UTC
(12 years, 4 months ago)
by ohkubo-k
File MIME type: text/plain
File size: 852 byte(s)
111009 release
| 1 |
include ../makefile.defs |
| 2 |
|
| 3 |
SRCDIR := pics400 |
| 4 |
OUTDIR := pics200 |
| 5 |
SOURCES := $(wildcard $(SRCDIR)/*.jpg) |
| 6 |
PICS := $(patsubst $(SRCDIR)/%,$(OUTDIR)/%,$(SOURCES)) |
| 7 |
OUTFILE := gaffiot200.html |
| 8 |
OUTFILE2 := gaffiot200x.html |
| 9 |
OUTFILE3 := gaffiot-pics.html |
| 10 |
|
| 11 |
all: $(OUTDIR) $(PICS) $(OUTPUT) $(OUTDIR)/$(OUTFILE3) |
| 12 |
|
| 13 |
$(OUTDIR): |
| 14 |
mkdir -p $(OUTDIR) |
| 15 |
|
| 16 |
$(OUTDIR)/%.jpg : $(SRCDIR)/%.jpg |
| 17 |
convert $< -resize '50%' -strip $@ |
| 18 |
|
| 19 |
$(OUTDIR)/$(OUTFILE) : $(PICS) |
| 20 |
cd $(OUTDIR); ../htmlgen.sh > $(OUTFILE) |
| 21 |
|
| 22 |
$(OUTDIR)/$(OUTFILE3) : $(OUTDIR)/$(OUTFILE2) |
| 23 |
cd $(OUTDIR); $(JAVA) clsepw.util.LatinExtConverter $(OUTFILE2) check \ |
| 24 |
| nkf -s | grep -v '^<meta ' > $(OUTFILE3) |
| 25 |
|
| 26 |
clean: |
| 27 |
rm -rf $(OUTDIR)/$(OUTFILE) $(OUTDIR)/$(OUTFILE3) |
| 28 |
|
| 29 |
allclean: clean |
| 30 |
rm -rf $(OUTDIR)/*.jpg |
| 31 |
|
| 32 |
check: |
| 33 |
java -cp ../build clsepw.latin.gaffiot.CheckPlaces ../ls/output/ls-body.html pics200/gaffiot200x.html |
|