diff options
author | Jonas Smedegaard <dr@jones.dk> | 2015-02-26 17:47:19 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2015-02-26 17:47:19 +0100 |
commit | ad23e13c246d2fab0af0cb43a76997b50454e03e (patch) | |
tree | 3d0e85a93b05e30f44e5d1dc34ca45e5736419d8 /Makefile | |
parent | e0011c1880056b4b2a05f8e1e386629bfc699784 (diff) |
Handle optional forms: Copy, set executable and expand build_path.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -49,5 +49,8 @@ content: build: $(if $(cssprojects),$(MAKE) $(cssprojects)) $(foreach config,$(shell find config -name '*.setup'),ikiwiki --setup $(config)$(avoid-broken-git)$(if $(always-make), --rebuild, --refresh);) + $(if $(wildcard forms),cd forms && find * -name '*.cgi' \ + -exec install -DT '{}' ../build/forms/'{}' ';' \ + -exec perl -i -pe "s:'../build':'$(CURDIR)':g" ../build/forms/'{}' ';') .PHONY: all build configfiles |