--- src/Makefile.am.orig	2022-08-23 01:20:20.000000000 +0800
+++ src/Makefile.am	2023-01-15 14:14:01.000000000 +0800
@@ -5,5 +5,5 @@
 AM_CFLAGS = -DSYSCONFDIR=\"$(sysconfdir)\" -DSTATEDIR=\"$(oc_statedir)\"
 
 install-data-hook:
-	$(MKDIR_P) $(oc_statedir)
+	$(MKDIR_P) $(DESTDIR)$(oc_statedir)
 
