New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A Makefile for the anthology #348
Comments
I updated #347 with the first three items of the todo list. I had a short look at what is actually needed to change the PDF storage path so that a completely separate anthology website could be hosted. The URL sanitation is in a single place and with some work, it should be feasible to sanitize to a different host/url and expose this feature to the command line (see #156). Once that is done, the Makefile could use that similar to the |
The PDF storage path will be much easier to do when #324 is done. I am behind on this and not sure I'll be able to get it done before the weekend. #324 is close to done and will close a large number of issues relating to paths, frontmatter display, whether to show PDFs, including extra conference material, and so on. |
Feedback: the makefile is awesome. It seems the remaining issues here are more properly thought of as secondary to other tasks—maybe we could close this? |
If this is also of interest to someone else, I would like to see whether we can make some targets non-phony. The bibtex conversion e.g. could be done that way, which would make the Makefile actually shorter and parallelization would by handled by make. Regarding the PDF host: i just want to have that noted as a TODO somewhere. |
+1 to non-phony targets and parallelization. |
Maybe the PDF host is relevant to #295, so we could note this there and close this out? |
I'm just trying to develop some UI changes for the first time after the introduction of the Makefile, and I have a hard time figuring out the best workflow. I used to rely on the Now, I thought I could simply run |
Maybe do the changes in the Of course, do a clean rebuild before a commit to check whether everything works. |
I thought about that, but that also requires me to remember which files I've changed (and copy those individually), since I can't sync back the whole build dir. And there's the chance of screwing things up with an accidental make command... |
something like |
I think doing it the other way around makes more sense; I've settled for
now to trigger the copying to the build dir automatically when something changes. I'll think of adding something to the detailed README or the wiki for future developers. (It's not possible to add a target to the Makefile that does this, is it? As it involves keeping two commands running in the background?) |
The code in the Makefile is evaluated using bash, so you can do anything you like. Example:
will be just as writing |
I think we moved into the |
I think that moving everything back is not a good idea. I strongly dislike projects which do not build out of tree; it is much easier to distinguish between source files and generated ones with the current set-up. Instead, let's have a new target for developing the files as outlined above. |
Anyone here have tips for |
I've similarly tried |
This is an issue to track the creation of a Makefile fo building the anthology. A first wip is #347. See also some preliminary discussion in #316.
Todo:
As this is not a critical issue, I will work on it in my spare time; no progress does not imply abandonment.
The text was updated successfully, but these errors were encountered: