1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-12-17 21:32:35 -05:00
Commit Graph

40 Commits

Author SHA1 Message Date
Jonas Schäfer
a694dd21ab Fix Makefile dependencies on directories
Most jobs depend on build or one of its subdirectories. By default,
this causes make to take the timestamp of the `build` directory (or
the respective subdirectory) into account when calculating whether
a job needs rebuilding.

This is a problem, because the modified timestamp of `build` updates
whenever a file is put into it. Effectively, this breaks incremental
builds.

Luckily, GNU(?) Make supports Order-only Dependencies, prefixed with
a pipe (`|`) symbol in the dependency list. That means that the
dependencies are not taken into account for freshness checks, but
will be built before the target (if they are non-fresh).

This commit introduces usage of Order-only Dependencies for the
output directories, which fixes incremental building.
2020-06-14 11:07:10 +02:00
Sam Whited
71ea00d59b Ensure OUTDIR exists before make preview 2020-04-19 15:36:36 -04:00
Jonas Schäfer
dbf46b7a59 Ensure that inbox subdirectory exists 2019-05-15 18:07:42 +02:00
Kim Alvefur
03940e8796 Inline XML entities
Browsers do not expand external XML entities so they must be inlined.
2019-04-20 00:39:46 +02:00
Kim Alvefur
d60b6a03ba make xml: Include XEP XSL in output
This is referenced by XML files so should be included
2019-04-20 00:30:52 +02:00
Jonas Schäfer
a032d17204 Hotfix against the web server misconfiguration
xmpp.v2.css isn’t served from the xeps docker, making all XEPs
render without CSS.
2019-04-06 10:58:04 +02:00
Jonas Schäfer
a4c297d374 Ensure that v2 CSS is there 2019-04-06 09:46:20 +02:00
JC Brand
8c92c9e8ac Document the inbox-html recipe 2018-08-30 08:54:49 +02:00
JC Brand
214d9856b3 Add dockerhtml Makefile recipe 2018-02-08 20:21:48 +01:00
Jonas Wielicki
238329a536 Fix intra-XEP links (regression from 609a081 2017-08-24 14:31:30 +02:00
Jonas Wielicki
340ab90216 Makefile: fix build/inbox creation 2017-08-23 16:56:01 +02:00
Jonas Wielicki
aea6f78a1a Generate xeplist on Docker build 2017-08-23 14:45:07 +02:00
Jonas Wielicki
609a081f27 Add build for inbox/ 2017-08-23 14:45:07 +02:00
Kevin Smith
2e53f9ad30 Add Dockerfile serving HTML extensions (#464)
Add Dockerfile

* Add PDF building to docker template
* Add note on docker to the readme
2017-05-11 09:11:29 -05:00
Sam Whited
86c83102f4 make: Rerun xelatex to build ToC in PDFs 2017-03-20 09:40:28 -05:00
Sam Whited
69f3aab459 Don't check for trailing whitespace during build
This should be checked during CI

Revert "Makefile: Check for trailing whitespaces when building a XEP."

This reverts commit 16700d9f30.
2017-02-19 22:36:24 -06:00
Emmanuel Gil Peyrot
16700d9f30 Makefile: Check for trailing whitespaces when building a XEP. 2017-02-16 19:37:21 -06:00
Sam Whited
2384f16c57 Remove .SECONDARY makefile hack
And eliminate the buggy implicit rule in the process
2017-01-13 00:33:28 -06:00
Sam Whited
2218941384 Remove unused var from Makefile 2017-01-13 00:23:23 -06:00
Sam Whited
2aaaf62547 Fix intermediate build bug in a better way 2017-01-13 00:14:01 -06:00
Sam Whited
546272f4c5 Missing intermediates when bilding implicit rules
https://www.gnu.org/software/make/manual/html_node/Pattern-Rules.html#Pattern-Rules
2017-01-12 23:50:05 -06:00
Sam Whited
520bc29820 Don't fail make when directory contains space 2017-01-09 14:50:43 -06:00
Sam Whited
e3deb1a013 Add target to extract examples in Makefile 2017-01-09 13:41:51 -06:00
Sam Whited
0e782f6246 Let xep-xxxx target build all versions of an XEP 2017-01-09 13:34:50 -06:00
Sam Whited
c505afdc96 Add targets to build IETF refs in Makefile 2017-01-09 13:14:02 -06:00
Sam Whited
2d779e6be7 Actually create outdir before copying resources 2017-01-05 13:33:54 -06:00
Sam Whited
e3acaa93f8 Fix legal notice on old public domain XEPs
I have no idea if any of this makes sense legally, so just leave it as
it was before (except make it match the DTD so the linter won't
complain).
2017-01-04 15:08:19 -06:00
Sam Whited
30bb05ba94 Add PDF generation back to Makefile 2017-01-03 15:46:19 -06:00
Sam Whited
ff0ef6d212 Check for external resources in CI
Fixes #212
2016-12-03 10:28:35 -06:00
Sam Whited
e9a10cd2c3 Add ratcheting DTD checking to CI 2016-11-16 11:40:06 -06:00
Matthew A. Miller
59e523a57c remove PDF build steps from Makefile (fixes #121) 2015-11-20 11:49:25 -07:00
Sam Whited
8c69d78de4 Make sure make preview supports inbox files 2015-10-27 10:28:56 -05:00
Sam Whited
f7fc6e0d2d Add `make preview' to generate HTML on XML save
Uses inotifywatch to generate an HTML file anytime an XML file is saved.
2015-10-27 10:27:53 -05:00
Florian Schmaus
67beabbbb1 Use TEMPDIR within OUTDIR in Makefile
and some other cleanups: Add XMPPIMAGESURL. Use multiple target rule for
"mkdir -p". Use special variables where possible. Remove unnecessary [
-e $FILE ] test in curl recipes.
2015-09-22 22:12:04 +02:00
Florian Schmaus
b2cf8fb102 Makefile: Whitespace fixes 2015-09-22 22:12:03 +02:00
Sam Whited
931daefbda Only run sed once and escape possible mistaken label marker 2015-09-17 08:09:00 -06:00
Sam Whited
b298856940 Add output when build complete 2015-09-17 08:09:00 -06:00
Sam Whited
4eec7f6324 Make sure the makefile looks in curdir for files
Eg. in case you're generating something in the inbox
2015-09-17 08:09:00 -06:00
Sam Whited
ba1646cfca Add PDF generation support to Makefile 2015-09-17 08:09:00 -06:00
Sam Whited
4bba55b8c0 Add a Makefile to build XEPs 2015-09-17 08:08:59 -06:00