Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (22 sloc) 1.15 KB
.PHONY: all clean rebuild
DOSIEROJ=$(wildcard fkd/*.md)
KONSTRUILO=emem
OG_TITOLO="$$(head -1 $<)"
OG_TIPO="article"
OG_BILDO="https://ebzzry.io/images/ico/android-chrome-512x512.png"
ANALITIKOJ="93746003-1"
%.html: fkd/%.md
$(KONSTRUILO) --head "<link rel='apple-touch-icon' sizes='180x180' href='/images/ico/apple-touch-icon.png' /><link rel='icon' sizes='16x16' href='/images/ico/favicon-16x16.png' /><link rel='icon' sizes='32x32' href='/images/ico/favicon-32x32.png' /><link rel='manifest' href='/images/ico/manifest.json' /><link rel='mask-icon' color='#5bbad5' href='/images/ico/safari-pinned-tab.svg' />" --og-title $(OG_TITOLO) --og-type $(OG_TIPO) -D $(OG_TITOLO) -K "ebzzry, rommel, martinez, rommel martinez" --og-url "https://ebzzry.io/$$(basename $< .md).html" --og-image $(OG_BILDO) --analytics $(ANALITIKOJ) -RFamuo "$$(basename $< .md).html" $<
all:
$(KONSTRUILO) -r
$(MAKE) $(MFLAGS) -C eo
$(MAKE) $(MFLAGS) -C en
parallel "$(MAKE) {/.}.html" ::: $(DOSIEROJ)
clean:
find . -maxdepth 1 -name '*.html' ! -name 'sitemap.html' ! -name 'index.html' -exec rm -vf {} \;
rm -rvf static
$(MAKE) -C eo $@
$(MAKE) -C en $@
rebuild:
$(MAKE) clean
$(MAKE)
You can’t perform that action at this time.