mpark/wg21

Non git submodule consumption

Opened this issue · 4 comments

I prefer to have a separate git repo for each of my papers. Having git submodule for every repo seems like a waste in this case. Is it possible to provide other means to use this generator?

mpark commented

Yes. The git submodule part actually doesn't matter. You just need to point your local Makefile to the generator's Makefile like this echo "include <path-to-framework>/Makefile" > Makefile

For example, say you have some top-level directory papers, your papers in papers/foo and papers/bar, and this generator framework in papers/wg21 as a regular git repo.

You can then do echo "include ../wg21/Makefile > Makefile each within papers/foo and papers/bar to be able to run make within each of the directories.

What about other users? Maybe provide something like make install so they install it somehow?

mpark commented

Ah, that's what you were getting at. I think that's a good idea! I'm not sure how I feel about installing it on the system but making it work by adding the repo to PATH or something like that would be nice 🙂

At least on Linux you can install in ~/.local so it is for single user and easily removable.