summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 275e5ff..638c49a 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -366,8 +366,9 @@ remove-etc:
rm -f $(DESTDIR)$(ETCDIR)/init.d/anytun
remove-systemd:
- rm -f $(DESTDIR)/lib/systemd/system/anytun@.service
- rm -f $(DESTDIR)/anytun-control@.service
+ rm -f $(DESTDIR)$(SYSTEMD_SYSTEMUNITDIR)/anytun@.service
+ rm -f $(DESTDIR)$(SYSTEMD_SYSTEMUNITDIR)/anytun-control@.service
+ rm -f $(DESTDIR)$(SYSTEMD_TMPFILESDIR)/anytun.conf
remove-examples:
rm -rf $(DESTDIR)$(EXAMPLESDIR)/anytun/