2023-02-02 18:25:31 +00:00
|
|
|
diff --git a/etc/Makefile.am b/etc/Makefile.am
|
|
|
|
index 5a01282..6a40921 100644
|
|
|
|
--- a/etc/Makefile.am
|
|
|
|
+++ b/etc/Makefile.am
|
|
|
|
@@ -24,17 +24,17 @@ pkgsysconfdir = $(sysconfdir)/@PACKAGE@
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
install-data-local: $(dist_pkgdata_DATA)
|
|
|
|
@$(NORMAL_INSTALL)
|
|
|
|
- $(mkinstalldirs) $(DESTDIR)$(pkgsysconfdir)
|
2023-02-02 18:25:31 +00:00
|
|
|
- $(INSTALL_DATA) -b $(srcdir)/davfs2.conf $(DESTDIR)$(pkgsysconfdir)/davfs2.conf
|
|
|
|
- $(INSTALL_DATA) -b -m 600 $(srcdir)/secrets $(DESTDIR)$(pkgsysconfdir)/secrets
|
2020-04-24 23:36:52 +00:00
|
|
|
- $(mkinstalldirs) $(DESTDIR)$(pkgsysconfdir)/certs
|
|
|
|
- $(mkinstalldirs) $(DESTDIR)$(pkgsysconfdir)/certs/private
|
|
|
|
- chmod 700 $(DESTDIR)$(pkgsysconfdir)/certs/private
|
|
|
|
+ $(mkinstalldirs) $(out)$(pkgsysconfdir)
|
2023-02-02 18:25:31 +00:00
|
|
|
+ $(INSTALL_DATA) -b $(srcdir)/davfs2.conf $(out)$(pkgsysconfdir)/davfs2.conf
|
|
|
|
+ $(INSTALL_DATA) -b -m 600 $(srcdir)/secrets $(out)$(pkgsysconfdir)/secrets
|
2020-04-24 23:36:52 +00:00
|
|
|
+ $(mkinstalldirs) $(out)$(pkgsysconfdir)/certs
|
|
|
|
+ $(mkinstalldirs) $(out)$(pkgsysconfdir)/certs/private
|
|
|
|
+ chmod 700 $(out)$(pkgsysconfdir)/certs/private
|
|
|
|
|
|
|
|
uninstall-local:
|
|
|
|
@$(NORMAL_UNINSTALL)
|
|
|
|
@list='$(dist_pkgdata_DATA)'; for p in $$list; do \
|
|
|
|
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
|
|
|
- echo " rm -f $(DESTDIR)$(pkgsysconfdir)/$$f"; \
|
|
|
|
- rm -f $(DESTDIR)$(pkgsysconfdir)/$$f; \
|
|
|
|
+ echo " rm -f $(out)$(pkgsysconfdir)/$$f"; \
|
|
|
|
+ rm -f $(out)$(pkgsysconfdir)/$$f; \
|
|
|
|
done
|