[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-bug: [ geda-Bugs-1802072 ] Makefiles install gattrib-menus.xml in wrong directory



Bugs item #1802072, was opened at 2007-09-25 15:28
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=818426&aid=1802072&group_id=161080

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: gattrib
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Hamish Moffatt (hmoffatt)
Assigned to: Nobody/Anonymous (nobody)
Summary: Makefiles install gattrib-menus.xml in wrong directory

Initial Comment:
gattrib's lib/Makefile.am installs gattrib-menus.xml in the GEDARCDIR, but the program expects it to be in the GEDADATADIR instead.

On Debian the rcdir is /etc/gEDA while the datadir is /usr/share/gEDA.

I don't think the user would want to edit this file so I think the datadir is the correct place.

I applied the following diff to Makefile.am here to fix it.

--- geda-gattrib-1.2.0.orig/lib/Makefile.am
+++ geda-gattrib-1.2.0/lib/Makefile.am
@@ -1,6 +1,8 @@
 
 rcdatadir = @GEDARCDIR@
-rcdata_DATA = system-gattribrc gattrib-menus.xml
+datadir = @GEDADATADIR@
+rcdata_DATA = system-gattribrc
+data_DATA = gattrib-menus.xml
 
 EXTRA_DIST = system-gattribrc.in gattrib-menus.xml
 



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=818426&aid=1802072&group_id=161080


_______________________________________________
geda-bug mailing list
geda-bug@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-bug