hi there again, Examples and tutorials are also landing in /usr/share/pcb instead of doc dir where users expect to find them. Please accept this small path, coupled with the following changes: * Add extension to the pcb files mv example/LED example/LED.pcb mv example/LED2 example/LED2.pcb sed -i \ 's|examplesdir = $(pkgdatadir)/examples|examplesdir = @docdir@/examples|' \ example/libraries/Makefile.* sed -i \ 's|tutdir = $(pkgdatadir)/tutorial|tutdir = @docdir@/tutorial|' \ tutorial/Makefile.* * Add pad, thermal and puller into sub directories in the examples directory dest=%{_docdir}/%{name}-%{version}/examples for d in thermal pad puller ; do echo -n -e "... Fixing path of $d \t" mkdir -p $dest/$d mv $dest/../$d.* $dest/$d install -pm 0644 doc/$d.{pcb,pdf} $dest/$d echo "done" done These changes are already made in fedora's pcb rpm. It would be nice that they are applied in upstream sources as well. thanks, Chitlesh
Attachment:
pcb-0.20091103-example.patch
Description: Binary data
_______________________________________________ geda-user mailing list geda-user@xxxxxxxxxxxxxx http://www.seul.org/cgi-bin/mailman/listinfo/geda-user