~oyvind-aabling/kicad-newlib/mod

« back to all changes in this revision

Viewing changes to perl/README

  • Committer: Øyvind Aabling
  • Date: 2010-09-05 18:33:27 UTC
  • Revision ID: oyvind.aabling@uni-c.dk-20100905183327-mknlpy6if7iblz38
Renamed oaa_conn_db to oaa_conn_db_dsub
Added the lib-generating perl code

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
The Makefile assumes the following paths:
 
2
 
 
3
/home/kicad/mod contains
 
4
bzr branch lp:~oyvind-aabling/kicad-newlib/mod
 
5
 
 
6
/home/kicad/build contain a working copy of the code and libs.
 
7
 
 
8
KiCad stores its modules in /usr/share/kicad/modules.
 
9
 
 
10
Edit the Makefile to change these paths if necessary.
 
11
 
 
12
# ---
 
13
 
 
14
To run pcblibs and copy the updated libs to where kicad can find them:
 
15
 
 
16
1 cp -pr /home/kicad/mod/perl /home/kicad/build
 
17
2 cd /home/kicad/build/perl
 
18
3 make perl
 
19
4 make
 
20
5 make kicad
 
21
 
 
22
# ---
 
23
 
 
24
To rerun pcblibs after perl code changes, run steps 4 and 5.
 
25
 
 
26
After adding a new component class (new .pm file in PCB/PCB), add
 
27
the file to PCB/MANIFEST and PCB/lib/PCB.pm and run steps 3 to 5.
 
28
 
 
29
# ---
 
30
 
 
31
To prepare the new code for upload to LP, run "make public".