.\" Copyright (c) 2024 Joost van Baal-Ilić .TH "casparize" 1 "18 авг 2024" "casparize 20240818" "USER COMMANDS " .po 2m .de ZI .\" Zoem Indent/Itemize macro I. .br 'in +\\$1 .nr xa 0 .nr xa -\\$1 .nr xb \\$1 .nr xb -\\w'\\$2' \h'|\\n(xau'\\$2\h'\\n(xbu'\\ .. .de ZJ .br .\" Zoem Indent/Itemize macro II. 'in +\\$1 'in +\\$2 .nr xa 0 .nr xa -\\$2 .nr xa -\\w'\\$3' .nr xb \\$2 \h'|\\n(xau'\\$3\h'\\n(xbu'\\ .. .if n .ll -2m .am SH .ie n .in 4m .el .in 8m .. .SH NAME casparize \- Set up \fBcaspar\fP Makefile in a new directory .SH SYNOPSIS \fBcasparize\fP \fBdir\fP (\fI/path/to/config/dir\fP) \fBcasparize\fP \fBfile\fP (\fI/path/to/config/dir/file\fP) .SH DESCRIPTION \fBcasparize\fP creates a new configuration working directory in your current working directory, sets up a Makefile for \fBcaspar(7)\fP in this new directory, and optionally copies an original configuration file from its original system place to the newly created configuration working directory\&. .SH USAGE You typically use \fBcasparize\fP when you already have created the root configuration working directory with its include directory and install\&.mk Caspar include file\&. By analysing your current working directory and the configuration directory path you give on the command line, casparize can deduce the contents of the Makefile in the newly created configuration working directory\&. It creates the new directory, creates the correct Makefile, and optionally copies the given configuration file in the new directory, ready for its first version commit\&. .SH EXAMPLES A typical example: .di ZV .in 0 .nf \fC $ cd /etc $ casparize /etc/postfix/main\&.cf .fi \fR .in .di .ne \n(dnu .nf \fC .ZV .fi \fR creates the directory /etc/postfix, creates /etc/postfix/Makefile including the proper content, and copies /etc/postfix/main\&.cf into /etc/postfix/main\&.cf\&. You can now directly add and commit the new directory\&. .SH BUGS Non known at this moment\&. .SH AUTHOR Jeroen Hoppenbrouwers .SH SEE ALSO \fBcaspar(7)\fP The caspar homepage is at http://mdcc\&.cx/caspar/ \&.