Debian Codegraph @

conf/Makefile.am

raw
1 # Copyright (C) 2005, 2008 g10 Code GmbH
2 #
3 # This file is part of Poldi.
4 #
5 # Poldi is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
9 #
10 # Poldi is distributed in the hope that it will be useful, but WITHOUT
11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
13 # License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
18 # 02111-1307, USA
19
20 install-conf-skeleton:
21 $(INSTALL) -d $(DESTDIR)$(POLDI_CONF_DIRECTORY)/localdb/keys
22 install -m 644 -T $(top_srcdir)/conf/README.keys \
23 $(DESTDIR)$(POLDI_CONF_DIRECTORY)/localdb/keys/README
24 if test -e $(DESTDIR)$(POLDI_CONF_DIRECTORY)/localdb/users; then \
25 echo "$(POLDI_CONF_DIRECTORY)/localdb/users exists, doing nothing here"; \
26 else \
27 install -m 644 -T $(top_srcdir)/conf/users.skel \
28 $(DESTDIR)$(POLDI_CONF_DIRECTORY)/localdb/users; \
29 fi
30 if test -e $(DESTDIR)$(POLDI_CONF_DIRECTORY)/poldi.conf; then \
31 echo "$(DESTDIR)$(POLDI_CONF_DIRECTORY)/poldi.conf exists, doing nothing here"; \
32 else \
33 install -m 644 -T $(top_srcdir)/conf/poldi.conf.skel \
34 $(DESTDIR)$(POLDI_CONF_DIRECTORY)/poldi.conf; \
35 fi
36 if test -e $(DESTDIR)$(POLDI_CONF_DIRECTORY)/scdaemon.conf; then \
37 echo "$(DESTDIR)$(POLDI_CONF_DIRECTORY)/scdaemon.conf exists, doing nothing here"; \
38 else \
39 install -m 644 -T $(top_srcdir)/conf/scdaemon.conf.skel \
40 $(DESTDIR)$(POLDI_CONF_DIRECTORY)/scdaemon.conf; \
41 fi
42
43 EXTRA_DIST = poldi.conf.skel users.skel scdaemon.conf.skel README.keys