I've written my own biblatex citation style and decided to put both the bbx and the cbx file in a dtx file to process that with docstrip. Now I would like to have docstrip place the files in my local folder ~/Library/texmf/tex/latex/biblatex/bbx/ and .../cbx/ respectively. My attempt at using the following ins file failed:
\input docstrip.tex
\askforoverwritefalse
\usedir{~/Library/texmf/tex/latex/biblatex/bbx/}
\generate{\file{blah.bbx}{\from{blah.dtx}{bbx}}}
\usedir{~/Library/texmf/tex/latex/biblatex/cbx/}
\generate{\file{blah.cbx}{\from{blah.dtx}{cbx}}}
\end
It just places both files in the same directory as the dtx file. My guess is that I didn't quite understand the usage of \usedir in the docstrip manual ... Any help would be appreciated!
The ins and dtx file are both in ~/Library/texmf/tex/source/blah/ by the way.