Skip to content

Commit 71b6f9d

Browse files
committed
Merge branch 'makefile-remve-config-gen' into remove-lwt-logs
2 parents 0da9f96 + b4dece9 commit 71b6f9d

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ install.files:
7878
@echo INSTALL_CAN_PUT_PERMISSIONS: ${INSTALL_CAN_PUT_PERMISSIONS}
7979
## Configuration files
8080
$(INSTALL) -m ${INSTALL_MOD_755} -d $(TEMPROOT)$(CONFIGDIR)/conf.d
81-
${INSTALL} -m ${INSTALL_MOD_644} ocsigenserver.conf.sample $(TEMPROOT)$(CONFIGDIR)/
81+
${INSTALL} -m ${INSTALL_MOD_644} _build/install/default/etc/ocsigenserver/ocsigenserver.conf.sample $(TEMPROOT)$(CONFIGDIR)/
8282
[ -f $(TEMPROOT)$(CONFIGDIR)/ocsigenserver.conf ] || \
83-
{ $(INSTALL) -m ${INSTALL_MOD_644} ocsigenserver.conf.sample \
83+
{ $(INSTALL) -m ${INSTALL_MOD_644} _build/install/default/etc/ocsigenserver/ocsigenserver.conf.sample \
8484
$(TEMPROOT)$(CONFIGDIR)/ocsigenserver.conf; }
8585
-mv $(TEMPROOT)$(CONFIGDIR)/mime.types $(TEMPROOT)$(CONFIGDIR)/mime.types.old
8686
## Log directory

dune

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,17 @@
44
(:standard -w -69))))
55

66
(rule
7-
(mode
8-
(promote (until-clean)))
97
(target ocsigenserver.conf.sample)
108
(action
119
(with-stdout-to
1210
%{target}
1311
(run src/files/ocsigenserver.conf/gen.exe sample))))
1412

13+
(install
14+
(files ocsigenserver.conf.sample)
15+
(section etc)
16+
(package ocsigenserver))
17+
1518
(subdir
1619
local/etc
1720
(rule

0 commit comments

Comments
 (0)