Skip to content

Commit

Permalink
Replace support/Build with submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
gvanas committed Sep 13, 2023
1 parent e7e2333 commit 9673853
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 922 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install xsltproc
run: sudo apt-get install xsltproc
- name: Build
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "support/XKCBuild"]
path = support/XKCBuild
url = https://github.com/XKCP/XKCBuild.git
17 changes: 2 additions & 15 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,2 @@
_list: Makefile.build support/Build/ToGlobalMakefile.xsl

bin/.build/Makefile: bin/.build/Makefile.expanded
mkdir -p $(dir $@)
xsltproc --xinclude -o $@ support/Build/ToGlobalMakefile.xsl $<

bin/.build/Makefile.expanded: Makefile.build
mkdir -p $(dir $@)
xsltproc --xinclude -o $@ support/Build/ExpandProducts.xsl $<

-include bin/.build/Makefile

.PHONY: clean
clean:
rm -rf bin/
XKCBpath = support/XKCBuild
include $(XKCBpath)/src/Main.makefile
79 changes: 0 additions & 79 deletions support/Build/ExpandProducts.xsl

This file was deleted.

206 changes: 0 additions & 206 deletions support/Build/ToGlobalMakefile.xsl

This file was deleted.

Loading

0 comments on commit 9673853

Please sign in to comment.