Download FFC User Manual
Transcript
FFC User Manual Anders Logg # make clean 2. From the parent directory, rename the FFC directory to something else: # mv ffc-0.1.0 ffc-0.1.0-mod 3. Unpack the version of FFC that you started from: # tar zxfv ffc-0.1.0.tar.gz 4. You should now have two FFC directory structures in your current directory: # ls ffc-0.1.0 ffc-0.1.0-mod 5. Now use the diff tool to create the patch: # diff -u --new-file --recursive ffc-0.1.0 ffc-0.1.0-mod > ffc-<identifier>-<date>.patch written as one line, where <identifier> is a keyword that can be used to identify the patch as coming from you (your username, last name, first name, a nickname etc) and <date> is today’s date in the format yyyy-mm-dd. 6. The patch now exists as ffc-<identifier>-<date>.patch and can be distributed to other people who already have ffc-0.1.0 to easily create your modified version. If the patch is large, compressing it with for example gzip is advisable: # gzip ffc-<identifier>-<date>.patch 66