feat: support building the website inside the repo
This commit is contained in:
parent
68775f6f09
commit
18647572b4
3
.gitignore
vendored
3
.gitignore
vendored
@ -15,6 +15,9 @@ global/data/topbanner/.topbanner.??.xml
|
||||
fsfe.org/search/index.js
|
||||
fsfe.org/tags/tagged-*.en.xhtml
|
||||
fsfe.org/tags/.tags.??.xml
|
||||
# Local build stuff
|
||||
output/*
|
||||
!output/README.md
|
||||
|
||||
## Status dir stuff
|
||||
status.fsfe.org/*/data*/*
|
||||
|
2
Makefile
2
Makefile
@ -63,7 +63,7 @@ stylesheets: $(SUBDIRS)
|
||||
# Dive into subdirectories
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
SUBDIRS := $(shell find */* -name "Makefile" | xargs dirname)
|
||||
SUBDIRS := $(shell find . -regex "./[a-z\.]+\.[a-z]+/.*/Makefile" | xargs dirname)
|
||||
|
||||
all: $(SUBDIRS)
|
||||
$(SUBDIRS): .FORCE
|
||||
|
@ -190,10 +190,7 @@ EOF
|
||||
|
||||
# All files which should just be copied over
|
||||
COPY_SRC_FILES := \$(shell find -L "\$(INPUTDIR)" -type f \
|
||||
-not -path '\$(INPUTDIR)/.git/*' \
|
||||
-not -path '\$(INPUTDIR)/build/*' \
|
||||
-not -path '\$(INPUTDIR)/global/*' \
|
||||
-not -path '\$(INPUTDIR)/tools/*' \
|
||||
-regex "\$(INPUTDIR)/[a-z\.]+\.[a-z]+/.*" \
|
||||
-not -name '.drone.yml' \
|
||||
-not -name '.gitignore' \
|
||||
-not -name 'README*' \
|
||||
|
3
output/README.md
Normal file
3
output/README.md
Normal file
@ -0,0 +1,3 @@
|
||||
# Output
|
||||
|
||||
This folder contains the output of the build script when called with default args.
|
Loading…
Reference in New Issue
Block a user