Check-in [549ad8e690]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:make BLOG variable
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:549ad8e6904e9923ef9594f898d554b79a9a6270
User & Date: brandon@invergo.net 2013-02-19 17:52:39
Context
2013-02-19
17:56
minor README update check-in: ec22b94456 user: brandon@invergo.net tags: trunk
17:52
make BLOG variable check-in: 549ad8e690 user: brandon@invergo.net tags: trunk
17:52
clarify README check-in: 572b5b6a61 user: brandon@invergo.net tags: trunk
Changes

Changes to Makefile.

14
15
16
17
18
19
20

21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# template. Common m4 macros may be stored in a macros
# file.

MACROS    := macros.m4
SRC	  := src
DST       := dst
TEMPLATES := templates

PAGES     := $(SRC)/pages
POSTS     := $(SRC)/news
MAIN_T    := $(TEMPLATES)/main.html.m4
BLOG_T    := $(TEMPLATES)/blog.html.m4
POST_T	  := $(TEMPLATES)/post.html.m4
PAGE_T    := $(TEMPLATES)/page.html.m4
ATOM_T    := $(TEMPLATES)/atom.xml.m4
ATOM_E_T  := $(TEMPLATES)/atom_entry.xml.m4

# Build a list of all the files that should exist when the
# baking is done. We do this by getting a list of all the
# source files and rewriting pathnames and file suffixes as
# necessary.
raw_posts  := $(shell find $(POSTS) -name index.html* -prune -o -type f)
raw_posts  := $(raw_posts:$(POSTS)/%=$(DST)/news/%)
raw_posts  := $(raw_posts:.m4=)
raw_posts  := $(filter-out %.inc %.swp %~ \#%,$(raw_posts))
raw_posts  := $(raw_posts:.md=.html)

raw_pages  := $(shell find $(SRC) -type d -name news -prune -o -type f)
raw_pages  := $(raw_pages:$(SRC)/%=$(DST)/%)
raw_pages  := $(raw_pages:.m4=)
raw_pages  := $(filter-out %.inc %.swp %~ \#%,$(raw_pages))
raw_pages  := $(raw_pages:.md=.html)

sp :=
sp += # add space







>

|












|




|







14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# template. Common m4 macros may be stored in a macros
# file.

MACROS    := macros.m4
SRC	  := src
DST       := dst
TEMPLATES := templates
BLOG      := news
PAGES     := $(SRC)/pages
POSTS     := $(SRC)/$(BLOG)
MAIN_T    := $(TEMPLATES)/main.html.m4
BLOG_T    := $(TEMPLATES)/blog.html.m4
POST_T	  := $(TEMPLATES)/post.html.m4
PAGE_T    := $(TEMPLATES)/page.html.m4
ATOM_T    := $(TEMPLATES)/atom.xml.m4
ATOM_E_T  := $(TEMPLATES)/atom_entry.xml.m4

# Build a list of all the files that should exist when the
# baking is done. We do this by getting a list of all the
# source files and rewriting pathnames and file suffixes as
# necessary.
raw_posts  := $(shell find $(POSTS) -name index.html* -prune -o -type f)
raw_posts  := $(raw_posts:$(POSTS)/%=$(DST)/$(BLOG)/%)
raw_posts  := $(raw_posts:.m4=)
raw_posts  := $(filter-out %.inc %.swp %~ \#%,$(raw_posts))
raw_posts  := $(raw_posts:.md=.html)

raw_pages  := $(shell find $(SRC) -type d -name $(BLOG) -prune -o -type f)
raw_pages  := $(raw_pages:$(SRC)/%=$(DST)/%)
raw_pages  := $(raw_pages:.m4=)
raw_pages  := $(filter-out %.inc %.swp %~ \#%,$(raw_pages))
raw_pages  := $(raw_pages:.md=.html)

sp :=
sp += # add space