blob: 3bee746ff75ce91d21543ea9ee1f0fc55187f9d1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
--- Makefile.am.orig 2022-11-10 11:35:55 UTC
+++ Makefile.am
@@ -150,19 +150,19 @@ installdir:
installconfig: installdir
@echo "Installing basic configuration ..."
- -@if [ ! -f $(DESTDIR)$(confdir)/sympa.conf ]; then \
- echo "installing sympa.conf"; \
- $(INSTALL) -m 640 sympa.conf $(DESTDIR)$(confdir); \
- chown $(USER) $(DESTDIR)$(confdir)/sympa.conf; \
- chgrp $(GROUP) $(DESTDIR)$(confdir)/sympa.conf; \
+ -@if [ ! -f $(DESTDIR)$(confdir)/sympa.conf.sample ]; then \
+ echo "installing sympa.conf.sample"; \
+ $(INSTALL) -m 640 sympa.conf $(DESTDIR)$(confdir)/sympa.conf.sample; \
+ chown $(USER) $(DESTDIR)$(confdir)/sympa.conf.sample; \
+ chgrp $(GROUP) $(DESTDIR)$(confdir)/sympa.conf.sample; \
fi
- -@if [ ! -f $(DESTDIR)$(sysconfdir)/data_structure.version ]; then \
+ -@if [ ! -f $(DESTDIR)$(sysconfdir)/data_structure.version.sample ]; then \
cd $(DESTDIR)$(sysconfdir); \
- echo "# automatically created file" >> data_structure.version; \
- echo "# you should not modify it" >> data_structure.version; \
- echo $(VERSION) >> data_structure.version; \
- chown $(USER) data_structure.version; \
- chgrp $(GROUP) data_structure.version; \
+ echo "# automatically created file" >> data_structure.version.sample; \
+ echo "# you should not modify it" >> data_structure.version.sample; \
+ echo $(VERSION) >> data_structure.version.sample; \
+ chown $(USER) data_structure.version.sample; \
+ chgrp $(GROUP) data_structure.version.sample; \
fi
-@for dir in create_list_templates custom_actions custom_conditions \
data_sources families tasks \
@@ -203,9 +203,9 @@ nextstep:
@echo "#######################################################"
uninstall-hook:
- cd $(DESTDIR)$(confdir) && rm -f sympa.conf
- cd $(DESTDIR)$(confdir) && rm -f wwsympa.conf
- cd $(DESTDIR)$(sysconfdir) && rm -f data_structure.version
+ cd $(DESTDIR)$(confdir) && rm -f sympa.conf.sample
+ cd $(DESTDIR)$(confdir) && rm -f wwsympa.conf.sample
+ cd $(DESTDIR)$(sysconfdir) && rm -f data_structure.version.sample
cd $(DESTDIR)$(sysconfdir) && rm -f README
DISTCHECK_CONFIGURE_FLAGS = --enable-fhs --with-perl=$(PERL)
|