Sometimes (in my field) a journal requires an anonymised version of the manuscript and a separate title page to be submitted. Other journals sometimes require other subsets of the overall document to be submitted separately. (For example for word count checking). Whilst, it isn't difficult to produce these different documents manually it is far from ideal to have to have separate tex files for each. Is there a way to automatically produce separate pdfs as needed?
N.B This is different to the question How can I get \maketitle to create a separate title page with the article class? which is about producing separate pages rather than separate documents.