Andrew Benton wrote:
> Nico R. wrote:
> 
>> The gnome-doc-utils package does not require the --localstatedir
>> configure parameter (anymore).
>> According to the ChangeLog, the change was made on 2004-11-21.
>>
>> Current instructions cause no harm, but I suggest dropping the switch.
> 
> 
> I disagree. My buildlog shows several files and folders being installed
> into /var/lib

Same here. But the scrollkeeper directory is detected by using
'scrollkeeper-config --pkglocalstatedir'. That should output
'/var/lib/scrollkeeper'.


The following command finds all files containing something with
"localstate", which are not created by the autotools:

$ grep -ri localstate gnome-doc-utils-0.4.4 | \
  grep -vE '^gnome-doc-utils-0\.4\.4/([^/:]+/)*Makefile\.in:' | \
  grep -v '^gnome-doc-utils-0\.4\.4/configure:' | \
  cut -d : -f 1 | \
  uniq
gnome-doc-utils-0.4.4/ChangeLog
gnome-doc-utils-0.4.4/gnome-doc-utils.make


Now let's have a closer look at gnome-doc-utils.make:

$ grep -in localstate gnome-doc-utils-0.4.4/gnome-doc-utils.make
132:_sklocalstatedir ?= `scrollkeeper-config --pkglocalstatedir`
696:      echo "scrollkeeper-update -p $(DESTDIR)$(_sklocalstatedir) -o
$(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)"; \
697:      scrollkeeper-update -p "$(DESTDIR)$(_sklocalstatedir)" -o
"$(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)"; \
727:        echo "scrollkeeper-uninstall -p $(_sklocalstatedir)
$(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
728:        scrollkeeper-uninstall -p "$(_sklocalstatedir)"
"$(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \


Still looks to me like the switch could be dropped.
-- 
Nico

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to