gdritter repos lib-static / 71a686f
Added scraps to main target Getty Ritter 8 years ago
1 changed file(s) with 4 addition(s) and 2 deletion(s). Collapse all Expand all
11 # The set of basic pages we want to generate
22 pages=$(OUTDIR)/quotes/index.html $(OUTDIR)/quips/index.html \
33 $(OUTDIR)/links/index.html $(OUTDIR)/category/index.html \
4 $(OUTDIR)/index.html
4 $(OUTDIR)/scraps/index.html $(OUTDIR)/index.html
55
66 # The static files we just need to copy
77 static_tgt=$(OUTDIR)/static/jquery.js \
1616 quotes_src=$(wildcard $(DATADIR)/quotes/*)
1717 quips_src=$(wildcard $(DATADIR)/quips/*)
1818 links_src=$(wildcard $(DATADIR)/links/*)
19 scraps_src=$(wildcard $(DATADIR)/scraps/*)
1920 works_src=$(notdir $(wildcard $(DATADIR)/works/*/*))
2021
2122 # and figure out what the $(OUTDIR) file will be called by matching
2324 quotes_tgt=$(quotes_src:$(DATADIR)/quotes/%=$(OUTDIR)/quotes/%/index.html)
2425 quips_tgt=$(quips_src:$(DATADIR)/quips/%=$(OUTDIR)/quips/%/index.html)
2526 links_tgt=$(links_src:$(DATADIR)/links/%=$(OUTDIR)/links/%/index.html)
27 scraps_tgt=$(scraps_src:$(DATADIR)/links/%=$(OUTDIR)/links/%/index.html)
2628 cats_tgt=$(cats_src:%=$(OUTDIR)/category/%/index.html)
2729
2830 works_tgt=$(works_src:%=$(OUTDIR)/%/index.html)
2931
3032 # ------------------------------------------------------------------------------
3133
32 all: $(pages) $(quotes_tgt) $(quips_tgt) $(links_tgt) $(works_tgt) \
34 all: $(pages) $(quotes_tgt) $(quips_tgt) $(links_tgt) $(works_tgt) $(scraps_tgt) \
3335 $(cats_tgt) $(static_tgt)
3436
3537 # ------------------------------------------------------------------------------