~ubuntu-branches/ubuntu/raring/dansguardian/raring

« back to all changes in this revision

Viewing changes to configs/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Wirt, Thomas Viehmann
  • Date: 2008-10-13 09:29:35 UTC
  • mfrom: (1.1.7 upstream) (7.1.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20081013092935-g8uz3kgfjs37ikgv
Tags: 2.9.9.7-2
[ Thomas Viehmann ]
OptionContainer.cpp: If you need to iterate through all lines in the
config file to find a field, at least don't abuse the configfile deque
by accessing it as if it was an array with signed index.
Works way better on arm, too, i.e. closes: #493047.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
SUBDIRS += contentscanners
8
8
endif
9
9
 
10
 
DATATOPDIR = $(sysconfdir)/$(PACKAGE_NAME)
11
 
 
12
10
FLISTS = dansguardian.conf dansguardianf1.conf
13
11
 
14
12
EXTRA_DIST = dansguardian.conf.in dansguardianf1.conf.in
15
13
 
16
14
install-data-local: 
17
 
        $(mkinstalldirs) $(DESTDIR)$(DATATOPDIR) && \
 
15
        $(mkinstalldirs) $(DESTDIR)$(DGCONFDIR) && \
18
16
        for l in $(FLISTS) ; do \
19
 
                echo "$(INSTALL_DATA) $$l $(DESTDIR)$(DATATOPDIR)/$$l"; \
20
 
                $(INSTALL_DATA) $$l $(DESTDIR)$(DATATOPDIR)/$$l; \
 
17
                echo "$(INSTALL_DATA) $$l $(DESTDIR)$(DGCONFDIR)/$$l"; \
 
18
                $(INSTALL_DATA) $$l $(DESTDIR)$(DGCONFDIR)/$$l; \
21
19
        done
22
20
 
23
21
uninstall-local:
24
22
        for l in $(FLISTS) ; do \
25
 
                rm -f $(DESTDIR)$(DATATOPDIR)/$$l ; \
 
23
                rm -f $(DESTDIR)$(DGCONFDIR)/$$l ; \
26
24
        done
27
25