diff options
author | Yorhel <git@yorhel.nl> | 2019-07-25 17:01:18 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2019-07-25 17:01:20 +0200 |
commit | 67a9eec06d6179bc6f9e8c16e1e6997d5990102f (patch) | |
tree | 33b556b00da7e0c1337018acee40eb25b1d5164a /Makefile | |
parent | f296495a912ce759df11c43e78b4552788bdbff2 (diff) |
v3: Integrate elmgen.pl with lib/VN3/
This way individual Perl modules can add stuff to the generated Elm
code, without having to edit a central file.
That's only used for forms for now, though.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 2 insertions, 17 deletions
@@ -80,23 +80,8 @@ data/icons/icons.css: data/icons/*.png data/icons/*/*.png util/spritegen.pl | st static/s/%/style.css: static/s/%/conf util/skingen.pl data/style.css data/icons/icons.css util/skingen.pl $* - -ELMDEP=\ - data/config3.pl \ - lib/VN3/Auth.pm \ - lib/VN3/Docs/Edit.pm \ - lib/VN3/Release/Edit.pm \ - lib/VN3/Producer/Edit.pm \ - lib/VN3/Char/Edit.pm \ - lib/VN3/Staff/Edit.pm \ - lib/VN3/Types.pm \ - lib/VN3/User/Settings.pm \ - lib/VN3/VN/Edit.pm \ - lib/VN3/Validation.pm \ - util/elmgen.pl - -elm3/Lib/Gen.elm: ${ELMDEP} - util/elmgen.pl >$@ +elm3/Lib/Gen.elm: lib/VN3/*.pm lib/VN3/*/*.pm data/config3.pl + util/vndb3.pl elmgen >$@ static/v3/elm.js: elm3/*.elm elm3/*/*.elm elm3/Lib/Gen.elm | static/f cd elm3 && ELM_HOME=elm-stuff elm make *.elm */*.elm --output ../$@ |