Skip to content

Commit d8d710c

Browse files
committed
doc/: rename ircd.motd{,.example} and unconditionally install
Fixes #510
1 parent 6ac4d0e commit d8d710c

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

doc/Makefile.am

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ localstatedir = @localstatedir@
88

99
# Local to the etc Makefile
1010

11-
CONFS = ircd.conf.example reference.conf
11+
CONFS = ircd.conf.example ircd.motd.example reference.conf
1212

1313
install-mkdirs:
1414
-@if test ! -d $(DESTDIR)$(sysconfdir); then \
@@ -25,11 +25,6 @@ install: install-mkdirs
2525
$(INSTALL_DATA) $$i $(DESTDIR)$(sysconfdir); \
2626
done
2727

28-
-@if test ! -f $(DESTDIR)$(sysconfdir)/ircd.motd; then \
29-
echo "ircd: installing motd file (ircd.motd)"; \
30-
$(INSTALL_DATA) ircd.motd $(DESTDIR)$(sysconfdir); \
31-
fi
32-
3328
-@if test -f $(DESTDIR)$(sysconfdir)/links.txt; then \
3429
$(RM) $(DESTDIR)$(sysconfdir)/links.txt; \
3530
fi
File renamed without changes.

doc/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
install_data(
22
'ircd.conf.example',
3+
'ircd.motd.example',
34
'reference.conf',
4-
'ircd.motd',
55
install_dir: confdir
66
)

0 commit comments

Comments
 (0)