Index: Makefile =================================================================== --- Makefile (revision 4296) +++ Makefile (revision 4297) @@ -3,18 +3,23 @@ all: +# NOTE: this rule is _not_ called from linstall install_: $(MKDIR) "$(DATADIR)/pcblib" - $(CPC) "`pwd`/connector" "$(DATADIR)/pcblib/connector" - $(CPC) "`pwd`/parametric" "$(DATADIR)/pcblib/parametric" - $(CPC) "`pwd`/smd" "$(DATADIR)/pcblib/smd" - $(CPC) "`pwd`/tru-hole" "$(DATADIR)/pcblib/tru-hole" + $(MKDIR) "$(DATADIR)/pcblib/connector" + $(CPC) "`pwd`/connector"/* "$(DATADIR)/pcblib/connector" + $(MKDIR) "$(DATADIR)/pcblib/parametric" + $(CPC) "`pwd`/parametric"/* "$(DATADIR)/pcblib/parametric" + $(MKDIR) "$(DATADIR)/pcblib/smd" + $(CPC) "`pwd`/smd"/* "$(DATADIR)/pcblib/smd" + $(MKDIR) "$(DATADIR)/pcblib/tru-hole" + $(CPC) "`pwd`/tru-hole"/* "$(DATADIR)/pcblib/tru-hole" install: make install_ CPC="$(CP)" # hack: pcb's chdir() based approach gets fooled on symlinks because of "cd .." -# returns to the wrong dir +# returns to the wrong dir - rather symlink the whole dir linstall: make uninstall $(MKDIR) "$(DATADIR)"